1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 20996b59177d52516ad45582152909be017ba39d */
4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ion_serialize
, 0, 1, IS_STRING
, 0)
5 ZEND_ARG_TYPE_INFO(0, data
, IS_MIXED
, 0)
6 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options
, ion
\\Writer
\\Options
, 0, "null")
9 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ion_unserialize
, 0, 1, IS_MIXED
, 0)
10 ZEND_ARG_TYPE_INFO(0, serialized
, IS_MIXED
, 0)
11 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options
, ion
\\Reader
\\Options
, 0, "null")
14 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Symbol_ImportLocation___construct
, 0, 0, 2)
15 ZEND_ARG_TYPE_INFO(0, name
, IS_STRING
, 0)
16 ZEND_ARG_TYPE_INFO(0, location
, IS_LONG
, 0)
19 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Symbol___construct
, 0, 0, 1)
20 ZEND_ARG_TYPE_INFO(0, value
, IS_STRING
, 0)
21 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, sid
, IS_LONG
, 0, "-1")
22 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, importLocation
, ion
\\Symbol
\\ImportLocation
, 1, "null")
25 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Symbol_equals
, 0, 1, _IS_BOOL
, 0)
26 ZEND_ARG_OBJ_INFO(0, symbol
, ion
\\Symbol
, 0)
29 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Decimal_Context___construct
, 0, 0, 0)
30 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, bits
, IS_LONG
, 0, "128")
33 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Decimal___construct
, 0, 0, 1)
34 ZEND_ARG_TYPE_MASK(0, number
, MAY_BE_STRING
|MAY_BE_LONG
, NULL
)
35 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, context
, ion
\\Decimal
\\Context
, 1, "null")
38 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Decimal_equals
, 0, 1, _IS_BOOL
, 0)
39 ZEND_ARG_OBJ_INFO(0, decimal
, ion
\\Decimal
, 0)
42 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Decimal_isInt
, 0, 0, _IS_BOOL
, 0)
45 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Decimal___toString
, 0, 0, IS_STRING
, 0)
48 #define arginfo_class_ion_Decimal_toString arginfo_class_ion_Decimal___toString
50 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Decimal_toInt
, 0, 0, IS_LONG
, 0)
53 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Timestamp___construct
, 0, 0, 1)
54 ZEND_ARG_OBJ_TYPE_MASK(0, precision
, ion
\\Timestamp
\\Precision
, MAY_BE_LONG
, NULL
)
55 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, format
, IS_STRING
, 1, "null")
56 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, datetime
, IS_STRING
, 1, "null")
57 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, timezone
, DateTimeZone
, 1, "null")
60 #define arginfo_class_ion_Timestamp___toString arginfo_class_ion_Decimal___toString
62 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_getType
, 0, 0, ion
\\Type
, 0)
65 #define arginfo_class_ion_Reader_hasAnnotations arginfo_class_ion_Decimal_isInt
67 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_hasAnnotation
, 0, 1, _IS_BOOL
, 0)
68 ZEND_ARG_TYPE_INFO(0, annotation
, IS_STRING
, 0)
71 #define arginfo_class_ion_Reader_isNull arginfo_class_ion_Decimal_isInt
73 #define arginfo_class_ion_Reader_isInStruct arginfo_class_ion_Decimal_isInt
75 #define arginfo_class_ion_Reader_getFieldName arginfo_class_ion_Decimal___toString
77 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_getFieldNameSymbol
, 0, 0, ion
\\Symbol
, 0)
80 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_getAnnotations
, 0, 0, IS_ARRAY
, 0)
83 #define arginfo_class_ion_Reader_getAnnotationSymbols arginfo_class_ion_Reader_getAnnotations
85 #define arginfo_class_ion_Reader_countAnnotations arginfo_class_ion_Decimal_toInt
87 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_getAnnotation
, 0, 1, IS_STRING
, 0)
88 ZEND_ARG_TYPE_INFO(0, index
, IS_LONG
, 0)
91 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_getAnnotationSymbol
, 0, 1, ion
\\Symbol
, 0)
92 ZEND_ARG_TYPE_INFO(0, index
, IS_LONG
, 0)
95 #define arginfo_class_ion_Reader_readNull arginfo_class_ion_Reader_getType
97 #define arginfo_class_ion_Reader_readBool arginfo_class_ion_Decimal_isInt
99 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_ion_Reader_readInt
, 0, 0, MAY_BE_LONG
|MAY_BE_STRING
)
102 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_readFloat
, 0, 0, IS_DOUBLE
, 0)
105 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_readDecimal
, 0, 0, ion
\\Decimal
, 0)
108 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_readTimestamp
, 0, 0, ion
\\Timestamp
, 0)
111 #define arginfo_class_ion_Reader_readSymbol arginfo_class_ion_Reader_getFieldNameSymbol
113 #define arginfo_class_ion_Reader_readString arginfo_class_ion_Decimal___toString
115 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_readStringPart
, 0, 1, _IS_BOOL
, 0)
116 ZEND_ARG_INFO(1, string
)
117 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length
, IS_LONG
, 0, "0x1000")
120 #define arginfo_class_ion_Reader_readLob arginfo_class_ion_Decimal___toString
122 #define arginfo_class_ion_Reader_readLobPart arginfo_class_ion_Reader_readStringPart
124 #define arginfo_class_ion_Reader_getPosition arginfo_class_ion_Decimal_toInt
126 #define arginfo_class_ion_Reader_getDepth arginfo_class_ion_Decimal_toInt
128 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_seek
, 0, 1, IS_VOID
, 0)
129 ZEND_ARG_TYPE_INFO(0, offset
, IS_LONG
, 0)
130 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length
, IS_LONG
, 0, "-1")
133 #define arginfo_class_ion_Reader_getValueOffset arginfo_class_ion_Decimal_toInt
135 #define arginfo_class_ion_Reader_getValueLength arginfo_class_ion_Decimal_toInt
137 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Reader_Options___construct
, 0, 0, 0)
138 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, catalog
, ion
\\Catalog
, 1, "null")
139 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, decimalContext
, ion
\\Decimal
\\Context
, 1, "null")
140 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, onContextChange
, Closure
, 1, "null")
141 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, returnSystemValues
, _IS_BOOL
, 0, "false")
142 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, newLine
, IS_LONG
, 0, "0xa")
143 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxContainerDepth
, IS_LONG
, 0, "10")
144 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxAnnotations
, IS_LONG
, 0, "10")
145 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxAnnotationBuffered
, IS_LONG
, 0, "512")
146 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, symbolThreshold
, IS_LONG
, 0, "4096")
147 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, userValueThreshold
, IS_LONG
, 0, "4096")
148 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, chunkThreshold
, IS_LONG
, 0, "4096")
149 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, allocationPageSize
, IS_LONG
, 0, "4096")
150 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, skipCharacterValidation
, _IS_BOOL
, 0, "false")
153 #define arginfo_class_ion_Reader_Reader_hasChildren arginfo_class_ion_Decimal_isInt
155 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_Reader_getChildren
, 0, 0, ion
\\Reader
, 0)
158 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_Reader_rewind
, 0, 0, IS_VOID
, 0)
161 #define arginfo_class_ion_Reader_Reader_next arginfo_class_ion_Reader_Reader_rewind
163 #define arginfo_class_ion_Reader_Reader_valid arginfo_class_ion_Decimal_isInt
165 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_Reader_key
, 0, 0, IS_MIXED
, 0)
168 #define arginfo_class_ion_Reader_Reader_current arginfo_class_ion_Reader_Reader_key
170 #define arginfo_class_ion_Reader_Reader_getType arginfo_class_ion_Reader_getType
172 #define arginfo_class_ion_Reader_Reader_hasAnnotations arginfo_class_ion_Decimal_isInt
174 #define arginfo_class_ion_Reader_Reader_hasAnnotation arginfo_class_ion_Reader_hasAnnotation
176 #define arginfo_class_ion_Reader_Reader_isNull arginfo_class_ion_Decimal_isInt
178 #define arginfo_class_ion_Reader_Reader_isInStruct arginfo_class_ion_Decimal_isInt
180 #define arginfo_class_ion_Reader_Reader_getFieldName arginfo_class_ion_Decimal___toString
182 #define arginfo_class_ion_Reader_Reader_getFieldNameSymbol arginfo_class_ion_Reader_getFieldNameSymbol
184 #define arginfo_class_ion_Reader_Reader_getAnnotations arginfo_class_ion_Reader_getAnnotations
186 #define arginfo_class_ion_Reader_Reader_getAnnotationSymbols arginfo_class_ion_Reader_getAnnotations
188 #define arginfo_class_ion_Reader_Reader_countAnnotations arginfo_class_ion_Decimal_toInt
190 #define arginfo_class_ion_Reader_Reader_getAnnotation arginfo_class_ion_Reader_getAnnotation
192 #define arginfo_class_ion_Reader_Reader_getAnnotationSymbol arginfo_class_ion_Reader_getAnnotationSymbol
194 #define arginfo_class_ion_Reader_Reader_readNull arginfo_class_ion_Reader_getType
196 #define arginfo_class_ion_Reader_Reader_readBool arginfo_class_ion_Decimal_isInt
198 #define arginfo_class_ion_Reader_Reader_readInt arginfo_class_ion_Reader_readInt
200 #define arginfo_class_ion_Reader_Reader_readFloat arginfo_class_ion_Reader_readFloat
202 #define arginfo_class_ion_Reader_Reader_readDecimal arginfo_class_ion_Reader_readDecimal
204 #define arginfo_class_ion_Reader_Reader_readTimestamp arginfo_class_ion_Reader_readTimestamp
206 #define arginfo_class_ion_Reader_Reader_readSymbol arginfo_class_ion_Reader_getFieldNameSymbol
208 #define arginfo_class_ion_Reader_Reader_readString arginfo_class_ion_Decimal___toString
210 #define arginfo_class_ion_Reader_Reader_readStringPart arginfo_class_ion_Reader_readStringPart
212 #define arginfo_class_ion_Reader_Reader_readLob arginfo_class_ion_Decimal___toString
214 #define arginfo_class_ion_Reader_Reader_readLobPart arginfo_class_ion_Reader_readStringPart
216 #define arginfo_class_ion_Reader_Reader_getPosition arginfo_class_ion_Decimal_toInt
218 #define arginfo_class_ion_Reader_Reader_getDepth arginfo_class_ion_Decimal_toInt
220 #define arginfo_class_ion_Reader_Reader_seek arginfo_class_ion_Reader_seek
222 #define arginfo_class_ion_Reader_Reader_getValueOffset arginfo_class_ion_Decimal_toInt
224 #define arginfo_class_ion_Reader_Reader_getValueLength arginfo_class_ion_Decimal_toInt
226 #define arginfo_class_ion_Reader_Buffer_getBuffer arginfo_class_ion_Decimal___toString
228 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Reader_Buffer_Reader___construct
, 0, 0, 1)
229 ZEND_ARG_TYPE_INFO(0, buffer
, IS_STRING
, 0)
230 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options
, ion
\\Reader
\\Options
, 1, "null")
233 #define arginfo_class_ion_Reader_Buffer_Reader_getBuffer arginfo_class_ion_Decimal___toString
235 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Reader_Stream_getStream
, 0, 0, 0)
238 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_Stream_resetStream
, 0, 1, IS_VOID
, 0)
239 ZEND_ARG_INFO(0, stream
)
242 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_Stream_resetStreamWithLength
, 0, 2, IS_VOID
, 0)
243 ZEND_ARG_INFO(0, stream
)
244 ZEND_ARG_TYPE_INFO(0, position
, IS_LONG
, 0)
245 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length
, IS_LONG
, 0, "-1")
248 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Reader_Stream_Reader___construct
, 0, 0, 1)
249 ZEND_ARG_INFO(0, stream
)
250 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options
, ion
\\Reader
\\Options
, 1, "null")
253 #define arginfo_class_ion_Reader_Stream_Reader_getStream arginfo_class_ion_Reader_Stream_getStream
255 #define arginfo_class_ion_Reader_Stream_Reader_resetStream arginfo_class_ion_Reader_Stream_resetStream
257 #define arginfo_class_ion_Reader_Stream_Reader_resetStreamWithLength arginfo_class_ion_Reader_Stream_resetStreamWithLength
259 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Writer_Options___construct
, 0, 0, 0)
260 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, catalog
, ion
\\Catalog
, 1, "null")
261 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, decimalContext
, ion
\\Decimal
\\Context
, 1, "null")
262 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, encodingSymbolTable
, ion
\\Collection
, 1, "null")
263 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, outputBinary
, _IS_BOOL
, 0, "false")
264 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, compactFloats
, _IS_BOOL
, 0, "false")
265 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, escapeNonAscii
, _IS_BOOL
, 0, "false")
266 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, prettyPrint
, _IS_BOOL
, 0, "false")
267 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, indentTabs
, _IS_BOOL
, 0, "true")
268 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, indentSize
, IS_LONG
, 0, "2")
269 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, smallContainersInline
, _IS_BOOL
, 0, "true")
270 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, suppressSystemValues
, _IS_BOOL
, 0, "false")
271 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flushEveryValue
, _IS_BOOL
, 0, "false")
272 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxContainerDepth
, IS_LONG
, 0, "10")
273 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxAnnotations
, IS_LONG
, 0, "10")
274 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, tempBufferSize
, IS_LONG
, 0, "0x400")
275 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, allocationPageSize
, IS_LONG
, 0, "0x1000")
278 #define arginfo_class_ion_Writer_writeNull arginfo_class_ion_Reader_Reader_rewind
280 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeTypedNull
, 0, 1, IS_VOID
, 0)
281 ZEND_ARG_OBJ_INFO(0, type
, ion
\\Type
, 0)
284 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeBool
, 0, 1, IS_VOID
, 0)
285 ZEND_ARG_TYPE_INFO(0, value
, _IS_BOOL
, 0)
288 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeInt
, 0, 1, IS_VOID
, 0)
289 ZEND_ARG_TYPE_MASK(0, value
, MAY_BE_LONG
|MAY_BE_STRING
, NULL
)
292 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeFloat
, 0, 1, IS_VOID
, 0)
293 ZEND_ARG_TYPE_INFO(0, value
, IS_DOUBLE
, 0)
296 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeDecimal
, 0, 1, IS_VOID
, 0)
297 ZEND_ARG_OBJ_TYPE_MASK(0, value
, ion
\\Decimal
, MAY_BE_STRING
, NULL
)
300 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeTimestamp
, 0, 1, IS_VOID
, 0)
301 ZEND_ARG_OBJ_TYPE_MASK(0, value
, ion
\\Timestamp
, MAY_BE_STRING
, NULL
)
304 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeSymbol
, 0, 1, IS_VOID
, 0)
305 ZEND_ARG_OBJ_TYPE_MASK(0, value
, ion
\\Symbol
, MAY_BE_STRING
, NULL
)
308 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeString
, 0, 1, IS_VOID
, 0)
309 ZEND_ARG_TYPE_INFO(0, value
, IS_STRING
, 0)
312 #define arginfo_class_ion_Writer_writeCLob arginfo_class_ion_Writer_writeString
314 #define arginfo_class_ion_Writer_writeBLob arginfo_class_ion_Writer_writeString
316 #define arginfo_class_ion_Writer_startLob arginfo_class_ion_Writer_writeTypedNull
318 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_appendLob
, 0, 1, IS_VOID
, 0)
319 ZEND_ARG_TYPE_INFO(0, data
, IS_STRING
, 0)
322 #define arginfo_class_ion_Writer_finishLob arginfo_class_ion_Reader_Reader_rewind
324 #define arginfo_class_ion_Writer_startContainer arginfo_class_ion_Writer_writeTypedNull
326 #define arginfo_class_ion_Writer_finishContainer arginfo_class_ion_Reader_Reader_rewind
328 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeFieldName
, 0, 1, IS_VOID
, 0)
329 ZEND_ARG_TYPE_INFO(0, name
, IS_STRING
, 0)
332 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeAnnotation
, 0, 0, IS_VOID
, 0)
333 ZEND_ARG_VARIADIC_OBJ_TYPE_MASK(0, annotation
, ion
\\Symbol
, MAY_BE_STRING
, NULL
)
336 #define arginfo_class_ion_Writer_getDepth arginfo_class_ion_Decimal_toInt
338 #define arginfo_class_ion_Writer_flush arginfo_class_ion_Decimal_toInt
340 #define arginfo_class_ion_Writer_finish arginfo_class_ion_Decimal_toInt
342 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeOne
, 0, 1, IS_VOID
, 0)
343 ZEND_ARG_OBJ_INFO(0, reader
, ion
\\Reader
, 0)
346 #define arginfo_class_ion_Writer_writeAll arginfo_class_ion_Writer_writeOne
348 #define arginfo_class_ion_Writer_Writer_writeNull arginfo_class_ion_Reader_Reader_rewind
350 #define arginfo_class_ion_Writer_Writer_writeTypedNull arginfo_class_ion_Writer_writeTypedNull
352 #define arginfo_class_ion_Writer_Writer_writeBool arginfo_class_ion_Writer_writeBool
354 #define arginfo_class_ion_Writer_Writer_writeInt arginfo_class_ion_Writer_writeInt
356 #define arginfo_class_ion_Writer_Writer_writeFloat arginfo_class_ion_Writer_writeFloat
358 #define arginfo_class_ion_Writer_Writer_writeDecimal arginfo_class_ion_Writer_writeDecimal
360 #define arginfo_class_ion_Writer_Writer_writeTimestamp arginfo_class_ion_Writer_writeTimestamp
362 #define arginfo_class_ion_Writer_Writer_writeSymbol arginfo_class_ion_Writer_writeSymbol
364 #define arginfo_class_ion_Writer_Writer_writeString arginfo_class_ion_Writer_writeString
366 #define arginfo_class_ion_Writer_Writer_writeCLob arginfo_class_ion_Writer_writeString
368 #define arginfo_class_ion_Writer_Writer_writeBLob arginfo_class_ion_Writer_writeString
370 #define arginfo_class_ion_Writer_Writer_startLob arginfo_class_ion_Writer_writeTypedNull
372 #define arginfo_class_ion_Writer_Writer_appendLob arginfo_class_ion_Writer_appendLob
374 #define arginfo_class_ion_Writer_Writer_finishLob arginfo_class_ion_Reader_Reader_rewind
376 #define arginfo_class_ion_Writer_Writer_startContainer arginfo_class_ion_Writer_writeTypedNull
378 #define arginfo_class_ion_Writer_Writer_finishContainer arginfo_class_ion_Reader_Reader_rewind
380 #define arginfo_class_ion_Writer_Writer_writeFieldName arginfo_class_ion_Writer_writeFieldName
382 #define arginfo_class_ion_Writer_Writer_writeAnnotation arginfo_class_ion_Writer_writeAnnotation
384 #define arginfo_class_ion_Writer_Writer_getDepth arginfo_class_ion_Decimal_toInt
386 #define arginfo_class_ion_Writer_Writer_flush arginfo_class_ion_Decimal_toInt
388 #define arginfo_class_ion_Writer_Writer_finish arginfo_class_ion_Decimal_toInt
390 #define arginfo_class_ion_Writer_Writer_writeOne arginfo_class_ion_Writer_writeOne
392 #define arginfo_class_ion_Writer_Writer_writeAll arginfo_class_ion_Writer_writeOne
394 #define arginfo_class_ion_Writer_Buffer_getBuffer arginfo_class_ion_Decimal___toString
396 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Writer_Buffer_Writer___construct
, 0, 0, 1)
397 ZEND_ARG_TYPE_INFO(1, buffer
, IS_STRING
, 1)
398 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options
, ion
\\Writer
\\Options
, 1, "null")
401 #define arginfo_class_ion_Writer_Buffer_Writer_getBuffer arginfo_class_ion_Decimal___toString
403 #define arginfo_class_ion_Writer_Stream_getStream arginfo_class_ion_Reader_Stream_getStream
405 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Writer_Stream_Writer___construct
, 0, 0, 1)
406 ZEND_ARG_INFO(0, stream
)
407 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options
, ion
\\Writer
\\Options
, 1, "null")
410 #define arginfo_class_ion_Writer_Stream_Writer_getStream arginfo_class_ion_Reader_Stream_getStream
412 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_PHP_Serializer___construct
, 0, 0, 1)
413 ZEND_ARG_OBJ_INFO(0, writer
, ion
\\Writer
, 0)
414 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callMagicSerialize
, _IS_BOOL
, 0, "true")
415 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callCustomSerialize
, IS_STRING
, 1, "null")
418 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_PHP_Serializer___invoke
, 0, 1, IS_VOID
, 0)
419 ZEND_ARG_TYPE_INFO(0, data
, IS_MIXED
, 0)
422 #define arginfo_class_ion_PHP_Serializer_serialize arginfo_class_ion_PHP_Serializer___invoke
424 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_PHP_Unserializer___construct
, 0, 0, 1)
425 ZEND_ARG_OBJ_INFO(0, reader
, ion
\\Reader
, 0)
426 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callMagicUnserialize
, _IS_BOOL
, 0, "true")
427 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callCustomUnserialize
, IS_STRING
, 1, "null")
430 #define arginfo_class_ion_PHP_Unserializer___invoke arginfo_class_ion_Reader_Reader_key
432 #define arginfo_class_ion_PHP_Unserializer_unserialize arginfo_class_ion_Reader_Reader_key
435 ZEND_FUNCTION(ion_serialize
);
436 ZEND_FUNCTION(ion_unserialize
);
437 ZEND_METHOD(ion_Symbol_ImportLocation
, __construct
);
438 ZEND_METHOD(ion_Symbol
, __construct
);
439 ZEND_METHOD(ion_Symbol
, equals
);
440 ZEND_METHOD(ion_Decimal_Context
, __construct
);
441 ZEND_METHOD(ion_Decimal
, __construct
);
442 ZEND_METHOD(ion_Decimal
, equals
);
443 ZEND_METHOD(ion_Decimal
, isInt
);
444 ZEND_METHOD(ion_Decimal
, __toString
);
445 ZEND_METHOD(ion_Decimal
, toInt
);
446 ZEND_METHOD(ion_Timestamp
, __construct
);
447 ZEND_METHOD(ion_Timestamp
, __toString
);
448 ZEND_METHOD(ion_Reader_Options
, __construct
);
449 ZEND_METHOD(ion_Reader_Reader
, hasChildren
);
450 ZEND_METHOD(ion_Reader_Reader
, getChildren
);
451 ZEND_METHOD(ion_Reader_Reader
, rewind
);
452 ZEND_METHOD(ion_Reader_Reader
, next
);
453 ZEND_METHOD(ion_Reader_Reader
, valid
);
454 ZEND_METHOD(ion_Reader_Reader
, key
);
455 ZEND_METHOD(ion_Reader_Reader
, current
);
456 ZEND_METHOD(ion_Reader_Reader
, getType
);
457 ZEND_METHOD(ion_Reader_Reader
, hasAnnotations
);
458 ZEND_METHOD(ion_Reader_Reader
, hasAnnotation
);
459 ZEND_METHOD(ion_Reader_Reader
, isNull
);
460 ZEND_METHOD(ion_Reader_Reader
, isInStruct
);
461 ZEND_METHOD(ion_Reader_Reader
, getFieldName
);
462 ZEND_METHOD(ion_Reader_Reader
, getFieldNameSymbol
);
463 ZEND_METHOD(ion_Reader_Reader
, getAnnotations
);
464 ZEND_METHOD(ion_Reader_Reader
, getAnnotationSymbols
);
465 ZEND_METHOD(ion_Reader_Reader
, countAnnotations
);
466 ZEND_METHOD(ion_Reader_Reader
, getAnnotation
);
467 ZEND_METHOD(ion_Reader_Reader
, getAnnotationSymbol
);
468 ZEND_METHOD(ion_Reader_Reader
, readNull
);
469 ZEND_METHOD(ion_Reader_Reader
, readBool
);
470 ZEND_METHOD(ion_Reader_Reader
, readInt
);
471 ZEND_METHOD(ion_Reader_Reader
, readFloat
);
472 ZEND_METHOD(ion_Reader_Reader
, readDecimal
);
473 ZEND_METHOD(ion_Reader_Reader
, readTimestamp
);
474 ZEND_METHOD(ion_Reader_Reader
, readSymbol
);
475 ZEND_METHOD(ion_Reader_Reader
, readString
);
476 ZEND_METHOD(ion_Reader_Reader
, readStringPart
);
477 ZEND_METHOD(ion_Reader_Reader
, readLob
);
478 ZEND_METHOD(ion_Reader_Reader
, readLobPart
);
479 ZEND_METHOD(ion_Reader_Reader
, getPosition
);
480 ZEND_METHOD(ion_Reader_Reader
, getDepth
);
481 ZEND_METHOD(ion_Reader_Reader
, seek
);
482 ZEND_METHOD(ion_Reader_Reader
, getValueOffset
);
483 ZEND_METHOD(ion_Reader_Reader
, getValueLength
);
484 ZEND_METHOD(ion_Reader_Buffer_Reader
, __construct
);
485 ZEND_METHOD(ion_Reader_Buffer_Reader
, getBuffer
);
486 ZEND_METHOD(ion_Reader_Stream_Reader
, __construct
);
487 ZEND_METHOD(ion_Reader_Stream_Reader
, getStream
);
488 ZEND_METHOD(ion_Reader_Stream_Reader
, resetStream
);
489 ZEND_METHOD(ion_Reader_Stream_Reader
, resetStreamWithLength
);
490 ZEND_METHOD(ion_Writer_Options
, __construct
);
491 ZEND_METHOD(ion_Writer_Writer
, writeNull
);
492 ZEND_METHOD(ion_Writer_Writer
, writeTypedNull
);
493 ZEND_METHOD(ion_Writer_Writer
, writeBool
);
494 ZEND_METHOD(ion_Writer_Writer
, writeInt
);
495 ZEND_METHOD(ion_Writer_Writer
, writeFloat
);
496 ZEND_METHOD(ion_Writer_Writer
, writeDecimal
);
497 ZEND_METHOD(ion_Writer_Writer
, writeTimestamp
);
498 ZEND_METHOD(ion_Writer_Writer
, writeSymbol
);
499 ZEND_METHOD(ion_Writer_Writer
, writeString
);
500 ZEND_METHOD(ion_Writer_Writer
, writeCLob
);
501 ZEND_METHOD(ion_Writer_Writer
, writeBLob
);
502 ZEND_METHOD(ion_Writer_Writer
, startLob
);
503 ZEND_METHOD(ion_Writer_Writer
, appendLob
);
504 ZEND_METHOD(ion_Writer_Writer
, finishLob
);
505 ZEND_METHOD(ion_Writer_Writer
, startContainer
);
506 ZEND_METHOD(ion_Writer_Writer
, finishContainer
);
507 ZEND_METHOD(ion_Writer_Writer
, writeFieldName
);
508 ZEND_METHOD(ion_Writer_Writer
, writeAnnotation
);
509 ZEND_METHOD(ion_Writer_Writer
, getDepth
);
510 ZEND_METHOD(ion_Writer_Writer
, flush
);
511 ZEND_METHOD(ion_Writer_Writer
, finish
);
512 ZEND_METHOD(ion_Writer_Writer
, writeOne
);
513 ZEND_METHOD(ion_Writer_Writer
, writeAll
);
514 ZEND_METHOD(ion_Writer_Buffer_Writer
, __construct
);
515 ZEND_METHOD(ion_Writer_Buffer_Writer
, getBuffer
);
516 ZEND_METHOD(ion_Writer_Stream_Writer
, __construct
);
517 ZEND_METHOD(ion_Writer_Stream_Writer
, getStream
);
518 ZEND_METHOD(ion_PHP_Serializer
, __construct
);
519 ZEND_METHOD(ion_PHP_Serializer
, __invoke
);
520 ZEND_METHOD(ion_PHP_Serializer
, serialize
);
521 ZEND_METHOD(ion_PHP_Unserializer
, __construct
);
522 ZEND_METHOD(ion_PHP_Unserializer
, __invoke
);
523 ZEND_METHOD(ion_PHP_Unserializer
, unserialize
);
526 static const zend_function_entry ext_functions
[] = {
527 ZEND_NS_RAW_FENTRY("ion", "serialize", ZEND_FN(ion_serialize
), arginfo_ion_serialize
, 0)
528 ZEND_NS_RAW_FENTRY("ion", "unserialize", ZEND_FN(ion_unserialize
), arginfo_ion_unserialize
, 0)
533 static const zend_function_entry class_ion_Type_methods
[] = {
538 static const zend_function_entry class_ion_Annotation_methods
[] = {
543 static const zend_function_entry class_ion_Symbol_ImportLocation_methods
[] = {
544 ZEND_ME(ion_Symbol_ImportLocation
, __construct
, arginfo_class_ion_Symbol_ImportLocation___construct
, ZEND_ACC_PUBLIC
)
549 static const zend_function_entry class_ion_Symbol_System_methods
[] = {
554 static const zend_function_entry class_ion_Symbol_System_SID_methods
[] = {
559 static const zend_function_entry class_ion_Symbol_methods
[] = {
560 ZEND_ME(ion_Symbol
, __construct
, arginfo_class_ion_Symbol___construct
, ZEND_ACC_PUBLIC
)
561 ZEND_ME(ion_Symbol
, equals
, arginfo_class_ion_Symbol_equals
, ZEND_ACC_PUBLIC
)
566 static const zend_function_entry class_ion_Symbol_Table_methods
[] = {
571 static const zend_function_entry class_ion_Catalog_methods
[] = {
576 static const zend_function_entry class_ion_Collection_methods
[] = {
581 static const zend_function_entry class_ion_Decimal_Context_methods
[] = {
582 ZEND_ME(ion_Decimal_Context
, __construct
, arginfo_class_ion_Decimal_Context___construct
, ZEND_ACC_PUBLIC
)
587 static const zend_function_entry class_ion_Decimal_methods
[] = {
588 ZEND_ME(ion_Decimal
, __construct
, arginfo_class_ion_Decimal___construct
, ZEND_ACC_PUBLIC
)
589 ZEND_ME(ion_Decimal
, equals
, arginfo_class_ion_Decimal_equals
, ZEND_ACC_PUBLIC
)
590 ZEND_ME(ion_Decimal
, isInt
, arginfo_class_ion_Decimal_isInt
, ZEND_ACC_PUBLIC
)
591 ZEND_ME(ion_Decimal
, __toString
, arginfo_class_ion_Decimal___toString
, ZEND_ACC_PUBLIC
)
592 ZEND_MALIAS(ion_Decimal
, toString
, __toString
, arginfo_class_ion_Decimal_toString
, ZEND_ACC_PUBLIC
)
593 ZEND_ME(ion_Decimal
, toInt
, arginfo_class_ion_Decimal_toInt
, ZEND_ACC_PUBLIC
)
598 static const zend_function_entry class_ion_Timestamp_Precision_methods
[] = {
603 static const zend_function_entry class_ion_Timestamp_methods
[] = {
604 ZEND_ME(ion_Timestamp
, __construct
, arginfo_class_ion_Timestamp___construct
, ZEND_ACC_PUBLIC
)
605 ZEND_ME(ion_Timestamp
, __toString
, arginfo_class_ion_Timestamp___toString
, ZEND_ACC_PUBLIC
)
610 static const zend_function_entry class_ion_Reader_methods
[] = {
611 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getType
, arginfo_class_ion_Reader_getType
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
612 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, hasAnnotations
, arginfo_class_ion_Reader_hasAnnotations
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
613 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, hasAnnotation
, arginfo_class_ion_Reader_hasAnnotation
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
614 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, isNull
, arginfo_class_ion_Reader_isNull
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
615 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, isInStruct
, arginfo_class_ion_Reader_isInStruct
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
616 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getFieldName
, arginfo_class_ion_Reader_getFieldName
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
617 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getFieldNameSymbol
, arginfo_class_ion_Reader_getFieldNameSymbol
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
618 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getAnnotations
, arginfo_class_ion_Reader_getAnnotations
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
619 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getAnnotationSymbols
, arginfo_class_ion_Reader_getAnnotationSymbols
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
620 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, countAnnotations
, arginfo_class_ion_Reader_countAnnotations
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
621 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getAnnotation
, arginfo_class_ion_Reader_getAnnotation
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
622 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getAnnotationSymbol
, arginfo_class_ion_Reader_getAnnotationSymbol
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
623 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readNull
, arginfo_class_ion_Reader_readNull
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
624 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readBool
, arginfo_class_ion_Reader_readBool
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
625 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readInt
, arginfo_class_ion_Reader_readInt
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
626 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readFloat
, arginfo_class_ion_Reader_readFloat
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
627 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readDecimal
, arginfo_class_ion_Reader_readDecimal
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
628 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readTimestamp
, arginfo_class_ion_Reader_readTimestamp
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
629 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readSymbol
, arginfo_class_ion_Reader_readSymbol
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
630 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readString
, arginfo_class_ion_Reader_readString
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
631 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readStringPart
, arginfo_class_ion_Reader_readStringPart
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
632 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readLob
, arginfo_class_ion_Reader_readLob
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
633 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readLobPart
, arginfo_class_ion_Reader_readLobPart
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
634 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getPosition
, arginfo_class_ion_Reader_getPosition
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
635 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getDepth
, arginfo_class_ion_Reader_getDepth
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
636 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, seek
, arginfo_class_ion_Reader_seek
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
637 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getValueOffset
, arginfo_class_ion_Reader_getValueOffset
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
638 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getValueLength
, arginfo_class_ion_Reader_getValueLength
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
643 static const zend_function_entry class_ion_Reader_Options_methods
[] = {
644 ZEND_ME(ion_Reader_Options
, __construct
, arginfo_class_ion_Reader_Options___construct
, ZEND_ACC_PUBLIC
)
649 static const zend_function_entry class_ion_Reader_Reader_methods
[] = {
650 ZEND_ME(ion_Reader_Reader
, hasChildren
, arginfo_class_ion_Reader_Reader_hasChildren
, ZEND_ACC_PUBLIC
)
651 ZEND_ME(ion_Reader_Reader
, getChildren
, arginfo_class_ion_Reader_Reader_getChildren
, ZEND_ACC_PUBLIC
)
652 ZEND_ME(ion_Reader_Reader
, rewind
, arginfo_class_ion_Reader_Reader_rewind
, ZEND_ACC_PUBLIC
)
653 ZEND_ME(ion_Reader_Reader
, next
, arginfo_class_ion_Reader_Reader_next
, ZEND_ACC_PUBLIC
)
654 ZEND_ME(ion_Reader_Reader
, valid
, arginfo_class_ion_Reader_Reader_valid
, ZEND_ACC_PUBLIC
)
655 ZEND_ME(ion_Reader_Reader
, key
, arginfo_class_ion_Reader_Reader_key
, ZEND_ACC_PUBLIC
)
656 ZEND_ME(ion_Reader_Reader
, current
, arginfo_class_ion_Reader_Reader_current
, ZEND_ACC_PUBLIC
)
657 ZEND_ME(ion_Reader_Reader
, getType
, arginfo_class_ion_Reader_Reader_getType
, ZEND_ACC_PUBLIC
)
658 ZEND_ME(ion_Reader_Reader
, hasAnnotations
, arginfo_class_ion_Reader_Reader_hasAnnotations
, ZEND_ACC_PUBLIC
)
659 ZEND_ME(ion_Reader_Reader
, hasAnnotation
, arginfo_class_ion_Reader_Reader_hasAnnotation
, ZEND_ACC_PUBLIC
)
660 ZEND_ME(ion_Reader_Reader
, isNull
, arginfo_class_ion_Reader_Reader_isNull
, ZEND_ACC_PUBLIC
)
661 ZEND_ME(ion_Reader_Reader
, isInStruct
, arginfo_class_ion_Reader_Reader_isInStruct
, ZEND_ACC_PUBLIC
)
662 ZEND_ME(ion_Reader_Reader
, getFieldName
, arginfo_class_ion_Reader_Reader_getFieldName
, ZEND_ACC_PUBLIC
)
663 ZEND_ME(ion_Reader_Reader
, getFieldNameSymbol
, arginfo_class_ion_Reader_Reader_getFieldNameSymbol
, ZEND_ACC_PUBLIC
)
664 ZEND_ME(ion_Reader_Reader
, getAnnotations
, arginfo_class_ion_Reader_Reader_getAnnotations
, ZEND_ACC_PUBLIC
)
665 ZEND_ME(ion_Reader_Reader
, getAnnotationSymbols
, arginfo_class_ion_Reader_Reader_getAnnotationSymbols
, ZEND_ACC_PUBLIC
)
666 ZEND_ME(ion_Reader_Reader
, countAnnotations
, arginfo_class_ion_Reader_Reader_countAnnotations
, ZEND_ACC_PUBLIC
)
667 ZEND_ME(ion_Reader_Reader
, getAnnotation
, arginfo_class_ion_Reader_Reader_getAnnotation
, ZEND_ACC_PUBLIC
)
668 ZEND_ME(ion_Reader_Reader
, getAnnotationSymbol
, arginfo_class_ion_Reader_Reader_getAnnotationSymbol
, ZEND_ACC_PUBLIC
)
669 ZEND_ME(ion_Reader_Reader
, readNull
, arginfo_class_ion_Reader_Reader_readNull
, ZEND_ACC_PUBLIC
)
670 ZEND_ME(ion_Reader_Reader
, readBool
, arginfo_class_ion_Reader_Reader_readBool
, ZEND_ACC_PUBLIC
)
671 ZEND_ME(ion_Reader_Reader
, readInt
, arginfo_class_ion_Reader_Reader_readInt
, ZEND_ACC_PUBLIC
)
672 ZEND_ME(ion_Reader_Reader
, readFloat
, arginfo_class_ion_Reader_Reader_readFloat
, ZEND_ACC_PUBLIC
)
673 ZEND_ME(ion_Reader_Reader
, readDecimal
, arginfo_class_ion_Reader_Reader_readDecimal
, ZEND_ACC_PUBLIC
)
674 ZEND_ME(ion_Reader_Reader
, readTimestamp
, arginfo_class_ion_Reader_Reader_readTimestamp
, ZEND_ACC_PUBLIC
)
675 ZEND_ME(ion_Reader_Reader
, readSymbol
, arginfo_class_ion_Reader_Reader_readSymbol
, ZEND_ACC_PUBLIC
)
676 ZEND_ME(ion_Reader_Reader
, readString
, arginfo_class_ion_Reader_Reader_readString
, ZEND_ACC_PUBLIC
)
677 ZEND_ME(ion_Reader_Reader
, readStringPart
, arginfo_class_ion_Reader_Reader_readStringPart
, ZEND_ACC_PUBLIC
)
678 ZEND_ME(ion_Reader_Reader
, readLob
, arginfo_class_ion_Reader_Reader_readLob
, ZEND_ACC_PUBLIC
)
679 ZEND_ME(ion_Reader_Reader
, readLobPart
, arginfo_class_ion_Reader_Reader_readLobPart
, ZEND_ACC_PUBLIC
)
680 ZEND_ME(ion_Reader_Reader
, getPosition
, arginfo_class_ion_Reader_Reader_getPosition
, ZEND_ACC_PUBLIC
)
681 ZEND_ME(ion_Reader_Reader
, getDepth
, arginfo_class_ion_Reader_Reader_getDepth
, ZEND_ACC_PUBLIC
)
682 ZEND_ME(ion_Reader_Reader
, seek
, arginfo_class_ion_Reader_Reader_seek
, ZEND_ACC_PUBLIC
)
683 ZEND_ME(ion_Reader_Reader
, getValueOffset
, arginfo_class_ion_Reader_Reader_getValueOffset
, ZEND_ACC_PUBLIC
)
684 ZEND_ME(ion_Reader_Reader
, getValueLength
, arginfo_class_ion_Reader_Reader_getValueLength
, ZEND_ACC_PUBLIC
)
689 static const zend_function_entry class_ion_Reader_Buffer_methods
[] = {
690 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Buffer
, getBuffer
, arginfo_class_ion_Reader_Buffer_getBuffer
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
695 static const zend_function_entry class_ion_Reader_Buffer_Reader_methods
[] = {
696 ZEND_ME(ion_Reader_Buffer_Reader
, __construct
, arginfo_class_ion_Reader_Buffer_Reader___construct
, ZEND_ACC_PUBLIC
)
697 ZEND_ME(ion_Reader_Buffer_Reader
, getBuffer
, arginfo_class_ion_Reader_Buffer_Reader_getBuffer
, ZEND_ACC_PUBLIC
)
702 static const zend_function_entry class_ion_Reader_Stream_methods
[] = {
703 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream
, getStream
, arginfo_class_ion_Reader_Stream_getStream
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
704 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream
, resetStream
, arginfo_class_ion_Reader_Stream_resetStream
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
705 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream
, resetStreamWithLength
, arginfo_class_ion_Reader_Stream_resetStreamWithLength
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
710 static const zend_function_entry class_ion_Reader_Stream_Reader_methods
[] = {
711 ZEND_ME(ion_Reader_Stream_Reader
, __construct
, arginfo_class_ion_Reader_Stream_Reader___construct
, ZEND_ACC_PUBLIC
)
712 ZEND_ME(ion_Reader_Stream_Reader
, getStream
, arginfo_class_ion_Reader_Stream_Reader_getStream
, ZEND_ACC_PUBLIC
)
713 ZEND_ME(ion_Reader_Stream_Reader
, resetStream
, arginfo_class_ion_Reader_Stream_Reader_resetStream
, ZEND_ACC_PUBLIC
)
714 ZEND_ME(ion_Reader_Stream_Reader
, resetStreamWithLength
, arginfo_class_ion_Reader_Stream_Reader_resetStreamWithLength
, ZEND_ACC_PUBLIC
)
719 static const zend_function_entry class_ion_Writer_Options_methods
[] = {
720 ZEND_ME(ion_Writer_Options
, __construct
, arginfo_class_ion_Writer_Options___construct
, ZEND_ACC_PUBLIC
)
725 static const zend_function_entry class_ion_Writer_methods
[] = {
726 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeNull
, arginfo_class_ion_Writer_writeNull
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
727 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeTypedNull
, arginfo_class_ion_Writer_writeTypedNull
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
728 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeBool
, arginfo_class_ion_Writer_writeBool
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
729 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeInt
, arginfo_class_ion_Writer_writeInt
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
730 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeFloat
, arginfo_class_ion_Writer_writeFloat
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
731 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeDecimal
, arginfo_class_ion_Writer_writeDecimal
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
732 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeTimestamp
, arginfo_class_ion_Writer_writeTimestamp
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
733 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeSymbol
, arginfo_class_ion_Writer_writeSymbol
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
734 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeString
, arginfo_class_ion_Writer_writeString
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
735 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeCLob
, arginfo_class_ion_Writer_writeCLob
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
736 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeBLob
, arginfo_class_ion_Writer_writeBLob
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
737 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, startLob
, arginfo_class_ion_Writer_startLob
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
738 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, appendLob
, arginfo_class_ion_Writer_appendLob
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
739 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, finishLob
, arginfo_class_ion_Writer_finishLob
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
740 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, startContainer
, arginfo_class_ion_Writer_startContainer
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
741 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, finishContainer
, arginfo_class_ion_Writer_finishContainer
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
742 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeFieldName
, arginfo_class_ion_Writer_writeFieldName
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
743 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeAnnotation
, arginfo_class_ion_Writer_writeAnnotation
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
744 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, getDepth
, arginfo_class_ion_Writer_getDepth
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
745 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, flush
, arginfo_class_ion_Writer_flush
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
746 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, finish
, arginfo_class_ion_Writer_finish
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
747 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeOne
, arginfo_class_ion_Writer_writeOne
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
748 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeAll
, arginfo_class_ion_Writer_writeAll
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
753 static const zend_function_entry class_ion_Writer_Writer_methods
[] = {
754 ZEND_ME(ion_Writer_Writer
, writeNull
, arginfo_class_ion_Writer_Writer_writeNull
, ZEND_ACC_PUBLIC
)
755 ZEND_ME(ion_Writer_Writer
, writeTypedNull
, arginfo_class_ion_Writer_Writer_writeTypedNull
, ZEND_ACC_PUBLIC
)
756 ZEND_ME(ion_Writer_Writer
, writeBool
, arginfo_class_ion_Writer_Writer_writeBool
, ZEND_ACC_PUBLIC
)
757 ZEND_ME(ion_Writer_Writer
, writeInt
, arginfo_class_ion_Writer_Writer_writeInt
, ZEND_ACC_PUBLIC
)
758 ZEND_ME(ion_Writer_Writer
, writeFloat
, arginfo_class_ion_Writer_Writer_writeFloat
, ZEND_ACC_PUBLIC
)
759 ZEND_ME(ion_Writer_Writer
, writeDecimal
, arginfo_class_ion_Writer_Writer_writeDecimal
, ZEND_ACC_PUBLIC
)
760 ZEND_ME(ion_Writer_Writer
, writeTimestamp
, arginfo_class_ion_Writer_Writer_writeTimestamp
, ZEND_ACC_PUBLIC
)
761 ZEND_ME(ion_Writer_Writer
, writeSymbol
, arginfo_class_ion_Writer_Writer_writeSymbol
, ZEND_ACC_PUBLIC
)
762 ZEND_ME(ion_Writer_Writer
, writeString
, arginfo_class_ion_Writer_Writer_writeString
, ZEND_ACC_PUBLIC
)
763 ZEND_ME(ion_Writer_Writer
, writeCLob
, arginfo_class_ion_Writer_Writer_writeCLob
, ZEND_ACC_PUBLIC
)
764 ZEND_ME(ion_Writer_Writer
, writeBLob
, arginfo_class_ion_Writer_Writer_writeBLob
, ZEND_ACC_PUBLIC
)
765 ZEND_ME(ion_Writer_Writer
, startLob
, arginfo_class_ion_Writer_Writer_startLob
, ZEND_ACC_PUBLIC
)
766 ZEND_ME(ion_Writer_Writer
, appendLob
, arginfo_class_ion_Writer_Writer_appendLob
, ZEND_ACC_PUBLIC
)
767 ZEND_ME(ion_Writer_Writer
, finishLob
, arginfo_class_ion_Writer_Writer_finishLob
, ZEND_ACC_PUBLIC
)
768 ZEND_ME(ion_Writer_Writer
, startContainer
, arginfo_class_ion_Writer_Writer_startContainer
, ZEND_ACC_PUBLIC
)
769 ZEND_ME(ion_Writer_Writer
, finishContainer
, arginfo_class_ion_Writer_Writer_finishContainer
, ZEND_ACC_PUBLIC
)
770 ZEND_ME(ion_Writer_Writer
, writeFieldName
, arginfo_class_ion_Writer_Writer_writeFieldName
, ZEND_ACC_PUBLIC
)
771 ZEND_ME(ion_Writer_Writer
, writeAnnotation
, arginfo_class_ion_Writer_Writer_writeAnnotation
, ZEND_ACC_PUBLIC
)
772 ZEND_ME(ion_Writer_Writer
, getDepth
, arginfo_class_ion_Writer_Writer_getDepth
, ZEND_ACC_PUBLIC
)
773 ZEND_ME(ion_Writer_Writer
, flush
, arginfo_class_ion_Writer_Writer_flush
, ZEND_ACC_PUBLIC
)
774 ZEND_ME(ion_Writer_Writer
, finish
, arginfo_class_ion_Writer_Writer_finish
, ZEND_ACC_PUBLIC
)
775 ZEND_ME(ion_Writer_Writer
, writeOne
, arginfo_class_ion_Writer_Writer_writeOne
, ZEND_ACC_PUBLIC
)
776 ZEND_ME(ion_Writer_Writer
, writeAll
, arginfo_class_ion_Writer_Writer_writeAll
, ZEND_ACC_PUBLIC
)
781 static const zend_function_entry class_ion_Writer_Buffer_methods
[] = {
782 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer_Buffer
, getBuffer
, arginfo_class_ion_Writer_Buffer_getBuffer
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
787 static const zend_function_entry class_ion_Writer_Buffer_Writer_methods
[] = {
788 ZEND_ME(ion_Writer_Buffer_Writer
, __construct
, arginfo_class_ion_Writer_Buffer_Writer___construct
, ZEND_ACC_PUBLIC
)
789 ZEND_ME(ion_Writer_Buffer_Writer
, getBuffer
, arginfo_class_ion_Writer_Buffer_Writer_getBuffer
, ZEND_ACC_PUBLIC
)
794 static const zend_function_entry class_ion_Writer_Stream_methods
[] = {
795 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer_Stream
, getStream
, arginfo_class_ion_Writer_Stream_getStream
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
800 static const zend_function_entry class_ion_Writer_Stream_Writer_methods
[] = {
801 ZEND_ME(ion_Writer_Stream_Writer
, __construct
, arginfo_class_ion_Writer_Stream_Writer___construct
, ZEND_ACC_PUBLIC
)
802 ZEND_ME(ion_Writer_Stream_Writer
, getStream
, arginfo_class_ion_Writer_Stream_Writer_getStream
, ZEND_ACC_PUBLIC
)
807 static const zend_function_entry class_ion_PHP_Serializer_methods
[] = {
808 ZEND_ME(ion_PHP_Serializer
, __construct
, arginfo_class_ion_PHP_Serializer___construct
, ZEND_ACC_PUBLIC
)
809 ZEND_ME(ion_PHP_Serializer
, __invoke
, arginfo_class_ion_PHP_Serializer___invoke
, ZEND_ACC_PUBLIC
)
810 ZEND_ME(ion_PHP_Serializer
, serialize
, arginfo_class_ion_PHP_Serializer_serialize
, ZEND_ACC_PROTECTED
)
815 static const zend_function_entry class_ion_PHP_Unserializer_methods
[] = {
816 ZEND_ME(ion_PHP_Unserializer
, __construct
, arginfo_class_ion_PHP_Unserializer___construct
, ZEND_ACC_PUBLIC
)
817 ZEND_ME(ion_PHP_Unserializer
, __invoke
, arginfo_class_ion_PHP_Unserializer___invoke
, ZEND_ACC_PUBLIC
)
818 ZEND_ME(ion_PHP_Unserializer
, unserialize
, arginfo_class_ion_PHP_Unserializer_unserialize
, ZEND_ACC_PROTECTED
)
822 static zend_class_entry
*register_class_ion_Type(void)
824 zend_class_entry
*class_entry
= zend_register_internal_enum("ion\\Type", IS_LONG
, class_ion_Type_methods
);
826 zval enum_case_Null_value
;
827 ZVAL_LONG(&enum_case_Null_value
, 0);
828 zend_enum_add_case_cstr(class_entry
, "Null", &enum_case_Null_value
);
830 zval enum_case_Bool_value
;
831 ZVAL_LONG(&enum_case_Bool_value
, 256);
832 zend_enum_add_case_cstr(class_entry
, "Bool", &enum_case_Bool_value
);
834 zval enum_case_Int_value
;
835 ZVAL_LONG(&enum_case_Int_value
, 512);
836 zend_enum_add_case_cstr(class_entry
, "Int", &enum_case_Int_value
);
838 zval enum_case_Float_value
;
839 ZVAL_LONG(&enum_case_Float_value
, 1024);
840 zend_enum_add_case_cstr(class_entry
, "Float", &enum_case_Float_value
);
842 zval enum_case_Decimal_value
;
843 ZVAL_LONG(&enum_case_Decimal_value
, 1280);
844 zend_enum_add_case_cstr(class_entry
, "Decimal", &enum_case_Decimal_value
);
846 zval enum_case_Timestamp_value
;
847 ZVAL_LONG(&enum_case_Timestamp_value
, 1536);
848 zend_enum_add_case_cstr(class_entry
, "Timestamp", &enum_case_Timestamp_value
);
850 zval enum_case_Symbol_value
;
851 ZVAL_LONG(&enum_case_Symbol_value
, 1792);
852 zend_enum_add_case_cstr(class_entry
, "Symbol", &enum_case_Symbol_value
);
854 zval enum_case_String_value
;
855 ZVAL_LONG(&enum_case_String_value
, 2048);
856 zend_enum_add_case_cstr(class_entry
, "String", &enum_case_String_value
);
858 zval enum_case_CLob_value
;
859 ZVAL_LONG(&enum_case_CLob_value
, 2304);
860 zend_enum_add_case_cstr(class_entry
, "CLob", &enum_case_CLob_value
);
862 zval enum_case_BLob_value
;
863 ZVAL_LONG(&enum_case_BLob_value
, 2560);
864 zend_enum_add_case_cstr(class_entry
, "BLob", &enum_case_BLob_value
);
866 zval enum_case_AList_value
;
867 ZVAL_LONG(&enum_case_AList_value
, 2816);
868 zend_enum_add_case_cstr(class_entry
, "AList", &enum_case_AList_value
);
870 zval enum_case_SExp_value
;
871 ZVAL_LONG(&enum_case_SExp_value
, 3072);
872 zend_enum_add_case_cstr(class_entry
, "SExp", &enum_case_SExp_value
);
874 zval enum_case_Struct_value
;
875 ZVAL_LONG(&enum_case_Struct_value
, 3328);
876 zend_enum_add_case_cstr(class_entry
, "Struct", &enum_case_Struct_value
);
878 zval enum_case_Datagram_value
;
879 ZVAL_LONG(&enum_case_Datagram_value
, 3840);
880 zend_enum_add_case_cstr(class_entry
, "Datagram", &enum_case_Datagram_value
);
882 zval enum_case_EOF_value
;
883 ZVAL_LONG(&enum_case_EOF_value
, -256);
884 zend_enum_add_case_cstr(class_entry
, "EOF", &enum_case_EOF_value
);
886 zval enum_case_NONE_value
;
887 ZVAL_LONG(&enum_case_NONE_value
, -512);
888 zend_enum_add_case_cstr(class_entry
, "NONE", &enum_case_NONE_value
);
893 static zend_class_entry
*register_class_ion_Annotation(void)
895 zend_class_entry
*class_entry
= zend_register_internal_enum("ion\\Annotation", IS_STRING
, class_ion_Annotation_methods
);
897 zval enum_case_PHP_value
;
898 zend_string
*enum_case_PHP_value_str
= zend_string_init("PHP", sizeof("PHP") - 1, 1);
899 ZVAL_STR(&enum_case_PHP_value
, enum_case_PHP_value_str
);
900 zend_enum_add_case_cstr(class_entry
, "PHP", &enum_case_PHP_value
);
902 zval enum_case_REFERENCE_value
;
903 zend_string
*enum_case_REFERENCE_value_str
= zend_string_init("R", sizeof("R") - 1, 1);
904 ZVAL_STR(&enum_case_REFERENCE_value
, enum_case_REFERENCE_value_str
);
905 zend_enum_add_case_cstr(class_entry
, "REFERENCE", &enum_case_REFERENCE_value
);
907 zval enum_case_BACKREF_value
;
908 zend_string
*enum_case_BACKREF_value_str
= zend_string_init("r", sizeof("r") - 1, 1);
909 ZVAL_STR(&enum_case_BACKREF_value
, enum_case_BACKREF_value_str
);
910 zend_enum_add_case_cstr(class_entry
, "BACKREF", &enum_case_BACKREF_value
);
912 zval enum_case_OBJECT_value
;
913 zend_string
*enum_case_OBJECT_value_str
= zend_string_init("o", sizeof("o") - 1, 1);
914 ZVAL_STR(&enum_case_OBJECT_value
, enum_case_OBJECT_value_str
);
915 zend_enum_add_case_cstr(class_entry
, "OBJECT", &enum_case_OBJECT_value
);
917 zval enum_case_CLASS_OBJ_value
;
918 zend_string
*enum_case_CLASS_OBJ_value_str
= zend_string_init("c", sizeof("c") - 1, 1);
919 ZVAL_STR(&enum_case_CLASS_OBJ_value
, enum_case_CLASS_OBJ_value_str
);
920 zend_enum_add_case_cstr(class_entry
, "CLASS_OBJ", &enum_case_CLASS_OBJ_value
);
922 zval enum_case_MAGIC_OBJ_value
;
923 zend_string
*enum_case_MAGIC_OBJ_value_str
= zend_string_init("O", sizeof("O") - 1, 1);
924 ZVAL_STR(&enum_case_MAGIC_OBJ_value
, enum_case_MAGIC_OBJ_value_str
);
925 zend_enum_add_case_cstr(class_entry
, "MAGIC_OBJ", &enum_case_MAGIC_OBJ_value
);
927 zval enum_case_CUSTOM_OBJ_value
;
928 zend_string
*enum_case_CUSTOM_OBJ_value_str
= zend_string_init("C", sizeof("C") - 1, 1);
929 ZVAL_STR(&enum_case_CUSTOM_OBJ_value
, enum_case_CUSTOM_OBJ_value_str
);
930 zend_enum_add_case_cstr(class_entry
, "CUSTOM_OBJ", &enum_case_CUSTOM_OBJ_value
);
932 zval enum_case_SERIALIZABLE_value
;
933 zend_string
*enum_case_SERIALIZABLE_value_str
= zend_string_init("S", sizeof("S") - 1, 1);
934 ZVAL_STR(&enum_case_SERIALIZABLE_value
, enum_case_SERIALIZABLE_value_str
);
935 zend_enum_add_case_cstr(class_entry
, "SERIALIZABLE", &enum_case_SERIALIZABLE_value
);
937 zval enum_case_ENUM_value
;
938 zend_string
*enum_case_ENUM_value_str
= zend_string_init("E", sizeof("E") - 1, 1);
939 ZVAL_STR(&enum_case_ENUM_value
, enum_case_ENUM_value_str
);
940 zend_enum_add_case_cstr(class_entry
, "ENUM", &enum_case_ENUM_value
);
942 zval enum_case_FIELD_NAME_INT_value
;
943 zend_string
*enum_case_FIELD_NAME_INT_value_str
= zend_string_init("i", sizeof("i") - 1, 1);
944 ZVAL_STR(&enum_case_FIELD_NAME_INT_value
, enum_case_FIELD_NAME_INT_value_str
);
945 zend_enum_add_case_cstr(class_entry
, "FIELD_NAME_INT", &enum_case_FIELD_NAME_INT_value
);
950 static zend_class_entry
*register_class_ion_Symbol_ImportLocation(void)
952 zend_class_entry ce
, *class_entry
;
954 INIT_NS_CLASS_ENTRY(ce
, "ion\\Symbol", "ImportLocation", class_ion_Symbol_ImportLocation_methods
);
955 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
957 zval property_name_default_value
;
958 ZVAL_UNDEF(&property_name_default_value
);
959 zend_string
*property_name_name
= zend_string_init("name", sizeof("name") - 1, 1);
960 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
));
961 zend_string_release(property_name_name
);
963 zval property_location_default_value
;
964 ZVAL_UNDEF(&property_location_default_value
);
965 zend_string
*property_location_name
= zend_string_init("location", sizeof("location") - 1, 1);
966 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
));
967 zend_string_release(property_location_name
);
972 static zend_class_entry
*register_class_ion_Symbol_System(void)
974 zend_class_entry
*class_entry
= zend_register_internal_enum("ion\\Symbol\\System", IS_STRING
, class_ion_Symbol_System_methods
);
976 zval enum_case_Ion_value
;
977 zend_string
*enum_case_Ion_value_str
= zend_string_init("$ion", sizeof("$ion") - 1, 1);
978 ZVAL_STR(&enum_case_Ion_value
, enum_case_Ion_value_str
);
979 zend_enum_add_case_cstr(class_entry
, "Ion", &enum_case_Ion_value
);
981 zval enum_case_Ivm_1_0_value
;
982 zend_string
*enum_case_Ivm_1_0_value_str
= zend_string_init("$ion_1_0", sizeof("$ion_1_0") - 1, 1);
983 ZVAL_STR(&enum_case_Ivm_1_0_value
, enum_case_Ivm_1_0_value_str
);
984 zend_enum_add_case_cstr(class_entry
, "Ivm_1_0", &enum_case_Ivm_1_0_value
);
986 zval enum_case_IonSymbolTable_value
;
987 zend_string
*enum_case_IonSymbolTable_value_str
= zend_string_init("$ion_symbol_table", sizeof("$ion_symbol_table") - 1, 1);
988 ZVAL_STR(&enum_case_IonSymbolTable_value
, enum_case_IonSymbolTable_value_str
);
989 zend_enum_add_case_cstr(class_entry
, "IonSymbolTable", &enum_case_IonSymbolTable_value
);
991 zval enum_case_Name_value
;
992 zend_string
*enum_case_Name_value_str
= zend_string_init("name", sizeof("name") - 1, 1);
993 ZVAL_STR(&enum_case_Name_value
, enum_case_Name_value_str
);
994 zend_enum_add_case_cstr(class_entry
, "Name", &enum_case_Name_value
);
996 zval enum_case_Version_value
;
997 zend_string
*enum_case_Version_value_str
= zend_string_init("version", sizeof("version") - 1, 1);
998 ZVAL_STR(&enum_case_Version_value
, enum_case_Version_value_str
);
999 zend_enum_add_case_cstr(class_entry
, "Version", &enum_case_Version_value
);
1001 zval enum_case_Imports_value
;
1002 zend_string
*enum_case_Imports_value_str
= zend_string_init("imports", sizeof("imports") - 1, 1);
1003 ZVAL_STR(&enum_case_Imports_value
, enum_case_Imports_value_str
);
1004 zend_enum_add_case_cstr(class_entry
, "Imports", &enum_case_Imports_value
);
1006 zval enum_case_Symbols_value
;
1007 zend_string
*enum_case_Symbols_value_str
= zend_string_init("symbols", sizeof("symbols") - 1, 1);
1008 ZVAL_STR(&enum_case_Symbols_value
, enum_case_Symbols_value_str
);
1009 zend_enum_add_case_cstr(class_entry
, "Symbols", &enum_case_Symbols_value
);
1011 zval enum_case_MaxId_value
;
1012 zend_string
*enum_case_MaxId_value_str
= zend_string_init("max_id", sizeof("max_id") - 1, 1);
1013 ZVAL_STR(&enum_case_MaxId_value
, enum_case_MaxId_value_str
);
1014 zend_enum_add_case_cstr(class_entry
, "MaxId", &enum_case_MaxId_value
);
1016 zval enum_case_SharedSymbolTable_value
;
1017 zend_string
*enum_case_SharedSymbolTable_value_str
= zend_string_init("$ion_shared_symbol_table", sizeof("$ion_shared_symbol_table") - 1, 1);
1018 ZVAL_STR(&enum_case_SharedSymbolTable_value
, enum_case_SharedSymbolTable_value_str
);
1019 zend_enum_add_case_cstr(class_entry
, "SharedSymbolTable", &enum_case_SharedSymbolTable_value
);
1024 static zend_class_entry
*register_class_ion_Symbol_System_SID(void)
1026 zend_class_entry
*class_entry
= zend_register_internal_enum("ion\\Symbol\\System\\SID", IS_LONG
, class_ion_Symbol_System_SID_methods
);
1028 zval enum_case_Ion_value
;
1029 ZVAL_LONG(&enum_case_Ion_value
, 1);
1030 zend_enum_add_case_cstr(class_entry
, "Ion", &enum_case_Ion_value
);
1032 zval enum_case_Ivm_1_0_value
;
1033 ZVAL_LONG(&enum_case_Ivm_1_0_value
, 2);
1034 zend_enum_add_case_cstr(class_entry
, "Ivm_1_0", &enum_case_Ivm_1_0_value
);
1036 zval enum_case_IonSymbolTable_value
;
1037 ZVAL_LONG(&enum_case_IonSymbolTable_value
, 3);
1038 zend_enum_add_case_cstr(class_entry
, "IonSymbolTable", &enum_case_IonSymbolTable_value
);
1040 zval enum_case_Name_value
;
1041 ZVAL_LONG(&enum_case_Name_value
, 4);
1042 zend_enum_add_case_cstr(class_entry
, "Name", &enum_case_Name_value
);
1044 zval enum_case_Version_value
;
1045 ZVAL_LONG(&enum_case_Version_value
, 5);
1046 zend_enum_add_case_cstr(class_entry
, "Version", &enum_case_Version_value
);
1048 zval enum_case_Imports_value
;
1049 ZVAL_LONG(&enum_case_Imports_value
, 6);
1050 zend_enum_add_case_cstr(class_entry
, "Imports", &enum_case_Imports_value
);
1052 zval enum_case_Symbols_value
;
1053 ZVAL_LONG(&enum_case_Symbols_value
, 7);
1054 zend_enum_add_case_cstr(class_entry
, "Symbols", &enum_case_Symbols_value
);
1056 zval enum_case_MaxId_value
;
1057 ZVAL_LONG(&enum_case_MaxId_value
, 8);
1058 zend_enum_add_case_cstr(class_entry
, "MaxId", &enum_case_MaxId_value
);
1060 zval enum_case_SharedSymbolTable_value
;
1061 ZVAL_LONG(&enum_case_SharedSymbolTable_value
, 9);
1062 zend_enum_add_case_cstr(class_entry
, "SharedSymbolTable", &enum_case_SharedSymbolTable_value
);
1067 static zend_class_entry
*register_class_ion_Symbol(void)
1069 zend_class_entry ce
, *class_entry
;
1071 INIT_NS_CLASS_ENTRY(ce
, "ion", "Symbol", class_ion_Symbol_methods
);
1072 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1074 zval property_value_default_value
;
1075 ZVAL_UNDEF(&property_value_default_value
);
1076 zend_string
*property_value_name
= zend_string_init("value", sizeof("value") - 1, 1);
1077 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
));
1078 zend_string_release(property_value_name
);
1080 zval property_sid_default_value
;
1081 ZVAL_UNDEF(&property_sid_default_value
);
1082 zend_string
*property_sid_name
= zend_string_init("sid", sizeof("sid") - 1, 1);
1083 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
));
1084 zend_string_release(property_sid_name
);
1086 zend_string
*property_importLocation_class_ion_Symbol_ImportLocation
= zend_string_init("ion\\Symbol\\ImportLocation", sizeof("ion\\Symbol\\ImportLocation")-1, 1);
1087 zval property_importLocation_default_value
;
1088 ZVAL_UNDEF(&property_importLocation_default_value
);
1089 zend_string
*property_importLocation_name
= zend_string_init("importLocation", sizeof("importLocation") - 1, 1);
1090 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
));
1091 zend_string_release(property_importLocation_name
);
1096 static zend_class_entry
*register_class_ion_Symbol_Table(void)
1098 zend_class_entry ce
, *class_entry
;
1100 INIT_NS_CLASS_ENTRY(ce
, "ion\\Symbol", "Table", class_ion_Symbol_Table_methods
);
1101 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1106 static zend_class_entry
*register_class_ion_Catalog(void)
1108 zend_class_entry ce
, *class_entry
;
1110 INIT_NS_CLASS_ENTRY(ce
, "ion", "Catalog", class_ion_Catalog_methods
);
1111 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1116 static zend_class_entry
*register_class_ion_Collection(void)
1118 zend_class_entry ce
, *class_entry
;
1120 INIT_NS_CLASS_ENTRY(ce
, "ion", "Collection", class_ion_Collection_methods
);
1121 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1126 static zend_class_entry
*register_class_ion_Decimal_Context(void)
1128 zend_class_entry ce
, *class_entry
;
1130 INIT_NS_CLASS_ENTRY(ce
, "ion\\Decimal", "Context", class_ion_Decimal_Context_methods
);
1131 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1133 zval property_bits_default_value
;
1134 ZVAL_UNDEF(&property_bits_default_value
);
1135 zend_string
*property_bits_name
= zend_string_init("bits", sizeof("bits") - 1, 1);
1136 zend_declare_typed_property(class_entry
, property_bits_name
, &property_bits_default_value
, ZEND_ACC_PUBLIC
|ZEND_ACC_READONLY
, NULL
, (zend_type
) ZEND_TYPE_INIT_MASK(MAY_BE_LONG
));
1137 zend_string_release(property_bits_name
);
1142 static zend_class_entry
*register_class_ion_Decimal(void)
1144 zend_class_entry ce
, *class_entry
;
1146 INIT_NS_CLASS_ENTRY(ce
, "ion", "Decimal", class_ion_Decimal_methods
);
1147 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1149 zval property_number_default_value
;
1150 ZVAL_UNDEF(&property_number_default_value
);
1151 zend_string
*property_number_name
= zend_string_init("number", sizeof("number") - 1, 1);
1152 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
));
1153 zend_string_release(property_number_name
);
1155 zend_string
*property_context_class_ion_Decimal_Context
= zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1156 zval property_context_default_value
;
1157 ZVAL_UNDEF(&property_context_default_value
);
1158 zend_string
*property_context_name
= zend_string_init("context", sizeof("context") - 1, 1);
1159 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
));
1160 zend_string_release(property_context_name
);
1165 static zend_class_entry
*register_class_ion_Timestamp_Precision(void)
1167 zend_class_entry
*class_entry
= zend_register_internal_enum("ion\\Timestamp\\Precision", IS_LONG
, class_ion_Timestamp_Precision_methods
);
1169 zval enum_case_Year_value
;
1170 ZVAL_LONG(&enum_case_Year_value
, 1);
1171 zend_enum_add_case_cstr(class_entry
, "Year", &enum_case_Year_value
);
1173 zval enum_case_Month_value
;
1174 ZVAL_LONG(&enum_case_Month_value
, 3);
1175 zend_enum_add_case_cstr(class_entry
, "Month", &enum_case_Month_value
);
1177 zval enum_case_Day_value
;
1178 ZVAL_LONG(&enum_case_Day_value
, 7);
1179 zend_enum_add_case_cstr(class_entry
, "Day", &enum_case_Day_value
);
1181 zval enum_case_Min_value
;
1182 ZVAL_LONG(&enum_case_Min_value
, 23);
1183 zend_enum_add_case_cstr(class_entry
, "Min", &enum_case_Min_value
);
1185 zval enum_case_Sec_value
;
1186 ZVAL_LONG(&enum_case_Sec_value
, 55);
1187 zend_enum_add_case_cstr(class_entry
, "Sec", &enum_case_Sec_value
);
1189 zval enum_case_Frac_value
;
1190 ZVAL_LONG(&enum_case_Frac_value
, 119);
1191 zend_enum_add_case_cstr(class_entry
, "Frac", &enum_case_Frac_value
);
1196 static zend_class_entry
*register_class_ion_Timestamp(zend_class_entry
*class_entry_DateTime
)
1198 zend_class_entry ce
, *class_entry
;
1200 INIT_NS_CLASS_ENTRY(ce
, "ion", "Timestamp", class_ion_Timestamp_methods
);
1201 class_entry
= zend_register_internal_class_ex(&ce
, class_entry_DateTime
);
1203 zval property_precision_default_value
;
1204 ZVAL_UNDEF(&property_precision_default_value
);
1205 zend_string
*property_precision_name
= zend_string_init("precision", sizeof("precision") - 1, 1);
1206 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
));
1207 zend_string_release(property_precision_name
);
1209 zval property_format_default_value
;
1210 ZVAL_UNDEF(&property_format_default_value
);
1211 zend_string
*property_format_name
= zend_string_init("format", sizeof("format") - 1, 1);
1212 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
));
1213 zend_string_release(property_format_name
);
1218 static zend_class_entry
*register_class_ion_Reader(zend_class_entry
*class_entry_RecursiveIterator
)
1220 zend_class_entry ce
, *class_entry
;
1222 INIT_NS_CLASS_ENTRY(ce
, "ion", "Reader", class_ion_Reader_methods
);
1223 class_entry
= zend_register_internal_interface(&ce
);
1224 zend_class_implements(class_entry
, 1, class_entry_RecursiveIterator
);
1229 static zend_class_entry
*register_class_ion_Reader_Options(void)
1231 zend_class_entry ce
, *class_entry
;
1233 INIT_NS_CLASS_ENTRY(ce
, "ion\\Reader", "Options", class_ion_Reader_Options_methods
);
1234 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1236 zend_string
*property_catalog_class_ion_Catalog
= zend_string_init("ion\\Catalog", sizeof("ion\\Catalog")-1, 1);
1237 zval property_catalog_default_value
;
1238 ZVAL_UNDEF(&property_catalog_default_value
);
1239 zend_string
*property_catalog_name
= zend_string_init("catalog", sizeof("catalog") - 1, 1);
1240 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
));
1241 zend_string_release(property_catalog_name
);
1243 zend_string
*property_decimalContext_class_ion_Decimal_Context
= zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1244 zval property_decimalContext_default_value
;
1245 ZVAL_UNDEF(&property_decimalContext_default_value
);
1246 zend_string
*property_decimalContext_name
= zend_string_init("decimalContext", sizeof("decimalContext") - 1, 1);
1247 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
));
1248 zend_string_release(property_decimalContext_name
);
1250 zend_string
*property_onContextChange_class_Closure
= zend_string_init("Closure", sizeof("Closure")-1, 1);
1251 zval property_onContextChange_default_value
;
1252 ZVAL_UNDEF(&property_onContextChange_default_value
);
1253 zend_string
*property_onContextChange_name
= zend_string_init("onContextChange", sizeof("onContextChange") - 1, 1);
1254 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
));
1255 zend_string_release(property_onContextChange_name
);
1257 zval property_returnSystemValues_default_value
;
1258 ZVAL_UNDEF(&property_returnSystemValues_default_value
);
1259 zend_string
*property_returnSystemValues_name
= zend_string_init("returnSystemValues", sizeof("returnSystemValues") - 1, 1);
1260 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
));
1261 zend_string_release(property_returnSystemValues_name
);
1263 zval property_newLine_default_value
;
1264 ZVAL_UNDEF(&property_newLine_default_value
);
1265 zend_string
*property_newLine_name
= zend_string_init("newLine", sizeof("newLine") - 1, 1);
1266 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
));
1267 zend_string_release(property_newLine_name
);
1269 zval property_maxContainerDepth_default_value
;
1270 ZVAL_UNDEF(&property_maxContainerDepth_default_value
);
1271 zend_string
*property_maxContainerDepth_name
= zend_string_init("maxContainerDepth", sizeof("maxContainerDepth") - 1, 1);
1272 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
));
1273 zend_string_release(property_maxContainerDepth_name
);
1275 zval property_maxAnnotations_default_value
;
1276 ZVAL_UNDEF(&property_maxAnnotations_default_value
);
1277 zend_string
*property_maxAnnotations_name
= zend_string_init("maxAnnotations", sizeof("maxAnnotations") - 1, 1);
1278 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
));
1279 zend_string_release(property_maxAnnotations_name
);
1281 zval property_maxAnnotationBuffered_default_value
;
1282 ZVAL_UNDEF(&property_maxAnnotationBuffered_default_value
);
1283 zend_string
*property_maxAnnotationBuffered_name
= zend_string_init("maxAnnotationBuffered", sizeof("maxAnnotationBuffered") - 1, 1);
1284 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
));
1285 zend_string_release(property_maxAnnotationBuffered_name
);
1287 zval property_symbolThreshold_default_value
;
1288 ZVAL_UNDEF(&property_symbolThreshold_default_value
);
1289 zend_string
*property_symbolThreshold_name
= zend_string_init("symbolThreshold", sizeof("symbolThreshold") - 1, 1);
1290 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
));
1291 zend_string_release(property_symbolThreshold_name
);
1293 zval property_userValueThreshold_default_value
;
1294 ZVAL_UNDEF(&property_userValueThreshold_default_value
);
1295 zend_string
*property_userValueThreshold_name
= zend_string_init("userValueThreshold", sizeof("userValueThreshold") - 1, 1);
1296 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
));
1297 zend_string_release(property_userValueThreshold_name
);
1299 zval property_chunkThreshold_default_value
;
1300 ZVAL_UNDEF(&property_chunkThreshold_default_value
);
1301 zend_string
*property_chunkThreshold_name
= zend_string_init("chunkThreshold", sizeof("chunkThreshold") - 1, 1);
1302 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
));
1303 zend_string_release(property_chunkThreshold_name
);
1305 zval property_allocationPageSize_default_value
;
1306 ZVAL_UNDEF(&property_allocationPageSize_default_value
);
1307 zend_string
*property_allocationPageSize_name
= zend_string_init("allocationPageSize", sizeof("allocationPageSize") - 1, 1);
1308 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
));
1309 zend_string_release(property_allocationPageSize_name
);
1311 zval property_skipCharacterValidation_default_value
;
1312 ZVAL_UNDEF(&property_skipCharacterValidation_default_value
);
1313 zend_string
*property_skipCharacterValidation_name
= zend_string_init("skipCharacterValidation", sizeof("skipCharacterValidation") - 1, 1);
1314 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
));
1315 zend_string_release(property_skipCharacterValidation_name
);
1320 static zend_class_entry
*register_class_ion_Reader_Reader(zend_class_entry
*class_entry_ion_Reader
)
1322 zend_class_entry ce
, *class_entry
;
1324 INIT_NS_CLASS_ENTRY(ce
, "ion\\Reader", "Reader", class_ion_Reader_Reader_methods
);
1325 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1326 class_entry
->ce_flags
|= ZEND_ACC_ABSTRACT
;
1327 zend_class_implements(class_entry
, 1, class_entry_ion_Reader
);
1329 zend_string
*property_options_class_ion_Reader_Options
= zend_string_init("ion\\Reader\\Options", sizeof("ion\\Reader\\Options")-1, 1);
1330 zval property_options_default_value
;
1331 ZVAL_UNDEF(&property_options_default_value
);
1332 zend_string
*property_options_name
= zend_string_init("options", sizeof("options") - 1, 1);
1333 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
));
1334 zend_string_release(property_options_name
);
1339 static zend_class_entry
*register_class_ion_Reader_Buffer(zend_class_entry
*class_entry_ion_Reader
)
1341 zend_class_entry ce
, *class_entry
;
1343 INIT_NS_CLASS_ENTRY(ce
, "ion\\Reader", "Buffer", class_ion_Reader_Buffer_methods
);
1344 class_entry
= zend_register_internal_interface(&ce
);
1345 zend_class_implements(class_entry
, 1, class_entry_ion_Reader
);
1350 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
)
1352 zend_class_entry ce
, *class_entry
;
1354 INIT_NS_CLASS_ENTRY(ce
, "ion\\Reader\\Buffer", "Reader", class_ion_Reader_Buffer_Reader_methods
);
1355 class_entry
= zend_register_internal_class_ex(&ce
, class_entry_ion_Reader_Reader
);
1356 zend_class_implements(class_entry
, 1, class_entry_ion_Reader_Buffer
);
1361 static zend_class_entry
*register_class_ion_Reader_Stream(zend_class_entry
*class_entry_ion_Reader
)
1363 zend_class_entry ce
, *class_entry
;
1365 INIT_NS_CLASS_ENTRY(ce
, "ion\\Reader", "Stream", class_ion_Reader_Stream_methods
);
1366 class_entry
= zend_register_internal_interface(&ce
);
1367 zend_class_implements(class_entry
, 1, class_entry_ion_Reader
);
1372 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
)
1374 zend_class_entry ce
, *class_entry
;
1376 INIT_NS_CLASS_ENTRY(ce
, "ion\\Reader\\Stream", "Reader", class_ion_Reader_Stream_Reader_methods
);
1377 class_entry
= zend_register_internal_class_ex(&ce
, class_entry_ion_Reader_Reader
);
1378 zend_class_implements(class_entry
, 1, class_entry_ion_Reader_Stream
);
1383 static zend_class_entry
*register_class_ion_Writer_Options(void)
1385 zend_class_entry ce
, *class_entry
;
1387 INIT_NS_CLASS_ENTRY(ce
, "ion\\Writer", "Options", class_ion_Writer_Options_methods
);
1388 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1390 zend_string
*property_catalog_class_ion_Catalog
= zend_string_init("ion\\Catalog", sizeof("ion\\Catalog")-1, 1);
1391 zval property_catalog_default_value
;
1392 ZVAL_UNDEF(&property_catalog_default_value
);
1393 zend_string
*property_catalog_name
= zend_string_init("catalog", sizeof("catalog") - 1, 1);
1394 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
));
1395 zend_string_release(property_catalog_name
);
1397 zend_string
*property_decimalContext_class_ion_Decimal_Context
= zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1398 zval property_decimalContext_default_value
;
1399 ZVAL_UNDEF(&property_decimalContext_default_value
);
1400 zend_string
*property_decimalContext_name
= zend_string_init("decimalContext", sizeof("decimalContext") - 1, 1);
1401 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
));
1402 zend_string_release(property_decimalContext_name
);
1404 zval property_outputBinary_default_value
;
1405 ZVAL_UNDEF(&property_outputBinary_default_value
);
1406 zend_string
*property_outputBinary_name
= zend_string_init("outputBinary", sizeof("outputBinary") - 1, 1);
1407 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
));
1408 zend_string_release(property_outputBinary_name
);
1410 zval property_compactFloats_default_value
;
1411 ZVAL_UNDEF(&property_compactFloats_default_value
);
1412 zend_string
*property_compactFloats_name
= zend_string_init("compactFloats", sizeof("compactFloats") - 1, 1);
1413 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
));
1414 zend_string_release(property_compactFloats_name
);
1416 zval property_escapeNonAscii_default_value
;
1417 ZVAL_UNDEF(&property_escapeNonAscii_default_value
);
1418 zend_string
*property_escapeNonAscii_name
= zend_string_init("escapeNonAscii", sizeof("escapeNonAscii") - 1, 1);
1419 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
));
1420 zend_string_release(property_escapeNonAscii_name
);
1422 zval property_prettyPrint_default_value
;
1423 ZVAL_UNDEF(&property_prettyPrint_default_value
);
1424 zend_string
*property_prettyPrint_name
= zend_string_init("prettyPrint", sizeof("prettyPrint") - 1, 1);
1425 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
));
1426 zend_string_release(property_prettyPrint_name
);
1428 zval property_indentTabs_default_value
;
1429 ZVAL_UNDEF(&property_indentTabs_default_value
);
1430 zend_string
*property_indentTabs_name
= zend_string_init("indentTabs", sizeof("indentTabs") - 1, 1);
1431 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
));
1432 zend_string_release(property_indentTabs_name
);
1434 zval property_indentSize_default_value
;
1435 ZVAL_UNDEF(&property_indentSize_default_value
);
1436 zend_string
*property_indentSize_name
= zend_string_init("indentSize", sizeof("indentSize") - 1, 1);
1437 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
));
1438 zend_string_release(property_indentSize_name
);
1440 zval property_smallContainersInline_default_value
;
1441 ZVAL_UNDEF(&property_smallContainersInline_default_value
);
1442 zend_string
*property_smallContainersInline_name
= zend_string_init("smallContainersInline", sizeof("smallContainersInline") - 1, 1);
1443 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
));
1444 zend_string_release(property_smallContainersInline_name
);
1446 zval property_suppressSystemValues_default_value
;
1447 ZVAL_UNDEF(&property_suppressSystemValues_default_value
);
1448 zend_string
*property_suppressSystemValues_name
= zend_string_init("suppressSystemValues", sizeof("suppressSystemValues") - 1, 1);
1449 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
));
1450 zend_string_release(property_suppressSystemValues_name
);
1452 zval property_flushEveryValue_default_value
;
1453 ZVAL_UNDEF(&property_flushEveryValue_default_value
);
1454 zend_string
*property_flushEveryValue_name
= zend_string_init("flushEveryValue", sizeof("flushEveryValue") - 1, 1);
1455 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
));
1456 zend_string_release(property_flushEveryValue_name
);
1458 zval property_maxContainerDepth_default_value
;
1459 ZVAL_UNDEF(&property_maxContainerDepth_default_value
);
1460 zend_string
*property_maxContainerDepth_name
= zend_string_init("maxContainerDepth", sizeof("maxContainerDepth") - 1, 1);
1461 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
));
1462 zend_string_release(property_maxContainerDepth_name
);
1464 zval property_maxAnnotations_default_value
;
1465 ZVAL_UNDEF(&property_maxAnnotations_default_value
);
1466 zend_string
*property_maxAnnotations_name
= zend_string_init("maxAnnotations", sizeof("maxAnnotations") - 1, 1);
1467 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
));
1468 zend_string_release(property_maxAnnotations_name
);
1470 zval property_tempBufferSize_default_value
;
1471 ZVAL_UNDEF(&property_tempBufferSize_default_value
);
1472 zend_string
*property_tempBufferSize_name
= zend_string_init("tempBufferSize", sizeof("tempBufferSize") - 1, 1);
1473 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
));
1474 zend_string_release(property_tempBufferSize_name
);
1476 zval property_allocationPageSize_default_value
;
1477 ZVAL_UNDEF(&property_allocationPageSize_default_value
);
1478 zend_string
*property_allocationPageSize_name
= zend_string_init("allocationPageSize", sizeof("allocationPageSize") - 1, 1);
1479 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
));
1480 zend_string_release(property_allocationPageSize_name
);
1485 static zend_class_entry
*register_class_ion_Writer(void)
1487 zend_class_entry ce
, *class_entry
;
1489 INIT_NS_CLASS_ENTRY(ce
, "ion", "Writer", class_ion_Writer_methods
);
1490 class_entry
= zend_register_internal_interface(&ce
);
1495 static zend_class_entry
*register_class_ion_Writer_Writer(zend_class_entry
*class_entry_ion_Writer
)
1497 zend_class_entry ce
, *class_entry
;
1499 INIT_NS_CLASS_ENTRY(ce
, "ion\\Writer", "Writer", class_ion_Writer_Writer_methods
);
1500 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1501 class_entry
->ce_flags
|= ZEND_ACC_ABSTRACT
;
1502 zend_class_implements(class_entry
, 1, class_entry_ion_Writer
);
1507 static zend_class_entry
*register_class_ion_Writer_Buffer(zend_class_entry
*class_entry_ion_Writer
)
1509 zend_class_entry ce
, *class_entry
;
1511 INIT_NS_CLASS_ENTRY(ce
, "ion\\Writer", "Buffer", class_ion_Writer_Buffer_methods
);
1512 class_entry
= zend_register_internal_interface(&ce
);
1513 zend_class_implements(class_entry
, 1, class_entry_ion_Writer
);
1518 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
)
1520 zend_class_entry ce
, *class_entry
;
1522 INIT_NS_CLASS_ENTRY(ce
, "ion\\Writer\\Buffer", "Writer", class_ion_Writer_Buffer_Writer_methods
);
1523 class_entry
= zend_register_internal_class_ex(&ce
, class_entry_ion_Writer_Writer
);
1524 zend_class_implements(class_entry
, 1, class_entry_ion_Writer_Buffer
);
1529 static zend_class_entry
*register_class_ion_Writer_Stream(zend_class_entry
*class_entry_ion_Writer
)
1531 zend_class_entry ce
, *class_entry
;
1533 INIT_NS_CLASS_ENTRY(ce
, "ion\\Writer", "Stream", class_ion_Writer_Stream_methods
);
1534 class_entry
= zend_register_internal_interface(&ce
);
1535 zend_class_implements(class_entry
, 1, class_entry_ion_Writer
);
1540 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
)
1542 zend_class_entry ce
, *class_entry
;
1544 INIT_NS_CLASS_ENTRY(ce
, "ion\\Writer\\Stream", "Writer", class_ion_Writer_Stream_Writer_methods
);
1545 class_entry
= zend_register_internal_class_ex(&ce
, class_entry_ion_Writer_Writer
);
1546 zend_class_implements(class_entry
, 1, class_entry_ion_Writer_Stream
);
1551 static zend_class_entry
*register_class_ion_PHP_Serializer(void)
1553 zend_class_entry ce
, *class_entry
;
1555 INIT_NS_CLASS_ENTRY(ce
, "ion\\PHP", "Serializer", class_ion_PHP_Serializer_methods
);
1556 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1558 zend_string
*property_writer_class_ion_Writer
= zend_string_init("ion\\Writer", sizeof("ion\\Writer")-1, 1);
1559 zval property_writer_default_value
;
1560 ZVAL_UNDEF(&property_writer_default_value
);
1561 zend_string
*property_writer_name
= zend_string_init("writer", sizeof("writer") - 1, 1);
1562 zend_declare_typed_property(class_entry
, property_writer_name
, &property_writer_default_value
, ZEND_ACC_PUBLIC
|ZEND_ACC_READONLY
, NULL
, (zend_type
) ZEND_TYPE_INIT_CLASS(property_writer_class_ion_Writer
, 0, 0));
1563 zend_string_release(property_writer_name
);
1565 zval property_callMagicSerialize_default_value
;
1566 ZVAL_UNDEF(&property_callMagicSerialize_default_value
);
1567 zend_string
*property_callMagicSerialize_name
= zend_string_init("callMagicSerialize", sizeof("callMagicSerialize") - 1, 1);
1568 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
));
1569 zend_string_release(property_callMagicSerialize_name
);
1571 zval property_callCustomSerialize_default_value
;
1572 ZVAL_UNDEF(&property_callCustomSerialize_default_value
);
1573 zend_string
*property_callCustomSerialize_name
= zend_string_init("callCustomSerialize", sizeof("callCustomSerialize") - 1, 1);
1574 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
));
1575 zend_string_release(property_callCustomSerialize_name
);
1580 static zend_class_entry
*register_class_ion_PHP_Unserializer(void)
1582 zend_class_entry ce
, *class_entry
;
1584 INIT_NS_CLASS_ENTRY(ce
, "ion\\PHP", "Unserializer", class_ion_PHP_Unserializer_methods
);
1585 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1587 zend_string
*property_reader_class_ion_Reader
= zend_string_init("ion\\Reader", sizeof("ion\\Reader")-1, 1);
1588 zval property_reader_default_value
;
1589 ZVAL_UNDEF(&property_reader_default_value
);
1590 zend_string
*property_reader_name
= zend_string_init("reader", sizeof("reader") - 1, 1);
1591 zend_declare_typed_property(class_entry
, property_reader_name
, &property_reader_default_value
, ZEND_ACC_PUBLIC
|ZEND_ACC_READONLY
, NULL
, (zend_type
) ZEND_TYPE_INIT_CLASS(property_reader_class_ion_Reader
, 0, 0));
1592 zend_string_release(property_reader_name
);
1594 zval property_callMagicUnserialize_default_value
;
1595 ZVAL_UNDEF(&property_callMagicUnserialize_default_value
);
1596 zend_string
*property_callMagicUnserialize_name
= zend_string_init("callMagicUnserialize", sizeof("callMagicUnserialize") - 1, 1);
1597 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
));
1598 zend_string_release(property_callMagicUnserialize_name
);
1600 zval property_callCustomUnserialize_default_value
;
1601 ZVAL_UNDEF(&property_callCustomUnserialize_default_value
);
1602 zend_string
*property_callCustomUnserialize_name
= zend_string_init("callCustomUnserialize", sizeof("callCustomUnserialize") - 1, 1);
1603 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
));
1604 zend_string_release(property_callCustomUnserialize_name
);