1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 9972b27bc2f7f20e59aae26777e1a674f1606c11 */
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_TYPE_INFO(0, precision
, IS_LONG
, 0)
55 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, format
, IS_STRING
, 0, "\"c\"")
56 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, datetime
, IS_STRING
, 0, "\"now\"")
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_methods
[] = {
599 ZEND_ME(ion_Timestamp
, __construct
, arginfo_class_ion_Timestamp___construct
, ZEND_ACC_PUBLIC
)
600 ZEND_ME(ion_Timestamp
, __toString
, arginfo_class_ion_Timestamp___toString
, ZEND_ACC_PUBLIC
)
605 static const zend_function_entry class_ion_Reader_methods
[] = {
606 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getType
, arginfo_class_ion_Reader_getType
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
607 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, hasAnnotations
, arginfo_class_ion_Reader_hasAnnotations
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
608 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, hasAnnotation
, arginfo_class_ion_Reader_hasAnnotation
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
609 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, isNull
, arginfo_class_ion_Reader_isNull
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
610 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, isInStruct
, arginfo_class_ion_Reader_isInStruct
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
611 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getFieldName
, arginfo_class_ion_Reader_getFieldName
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
612 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getFieldNameSymbol
, arginfo_class_ion_Reader_getFieldNameSymbol
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
613 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getAnnotations
, arginfo_class_ion_Reader_getAnnotations
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
614 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getAnnotationSymbols
, arginfo_class_ion_Reader_getAnnotationSymbols
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
615 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, countAnnotations
, arginfo_class_ion_Reader_countAnnotations
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
616 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getAnnotation
, arginfo_class_ion_Reader_getAnnotation
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
617 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getAnnotationSymbol
, arginfo_class_ion_Reader_getAnnotationSymbol
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
618 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readNull
, arginfo_class_ion_Reader_readNull
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
619 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readBool
, arginfo_class_ion_Reader_readBool
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
620 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readInt
, arginfo_class_ion_Reader_readInt
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
621 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readFloat
, arginfo_class_ion_Reader_readFloat
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
622 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readDecimal
, arginfo_class_ion_Reader_readDecimal
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
623 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readTimestamp
, arginfo_class_ion_Reader_readTimestamp
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
624 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readSymbol
, arginfo_class_ion_Reader_readSymbol
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
625 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readString
, arginfo_class_ion_Reader_readString
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
626 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readStringPart
, arginfo_class_ion_Reader_readStringPart
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
627 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readLob
, arginfo_class_ion_Reader_readLob
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
628 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, readLobPart
, arginfo_class_ion_Reader_readLobPart
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
629 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getPosition
, arginfo_class_ion_Reader_getPosition
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
630 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getDepth
, arginfo_class_ion_Reader_getDepth
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
631 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, seek
, arginfo_class_ion_Reader_seek
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
632 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getValueOffset
, arginfo_class_ion_Reader_getValueOffset
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
633 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader
, getValueLength
, arginfo_class_ion_Reader_getValueLength
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
638 static const zend_function_entry class_ion_Reader_Options_methods
[] = {
639 ZEND_ME(ion_Reader_Options
, __construct
, arginfo_class_ion_Reader_Options___construct
, ZEND_ACC_PUBLIC
)
644 static const zend_function_entry class_ion_Reader_Reader_methods
[] = {
645 ZEND_ME(ion_Reader_Reader
, hasChildren
, arginfo_class_ion_Reader_Reader_hasChildren
, ZEND_ACC_PUBLIC
)
646 ZEND_ME(ion_Reader_Reader
, getChildren
, arginfo_class_ion_Reader_Reader_getChildren
, ZEND_ACC_PUBLIC
)
647 ZEND_ME(ion_Reader_Reader
, rewind
, arginfo_class_ion_Reader_Reader_rewind
, ZEND_ACC_PUBLIC
)
648 ZEND_ME(ion_Reader_Reader
, next
, arginfo_class_ion_Reader_Reader_next
, ZEND_ACC_PUBLIC
)
649 ZEND_ME(ion_Reader_Reader
, valid
, arginfo_class_ion_Reader_Reader_valid
, ZEND_ACC_PUBLIC
)
650 ZEND_ME(ion_Reader_Reader
, key
, arginfo_class_ion_Reader_Reader_key
, ZEND_ACC_PUBLIC
)
651 ZEND_ME(ion_Reader_Reader
, current
, arginfo_class_ion_Reader_Reader_current
, ZEND_ACC_PUBLIC
)
652 ZEND_ME(ion_Reader_Reader
, getType
, arginfo_class_ion_Reader_Reader_getType
, ZEND_ACC_PUBLIC
)
653 ZEND_ME(ion_Reader_Reader
, hasAnnotations
, arginfo_class_ion_Reader_Reader_hasAnnotations
, ZEND_ACC_PUBLIC
)
654 ZEND_ME(ion_Reader_Reader
, hasAnnotation
, arginfo_class_ion_Reader_Reader_hasAnnotation
, ZEND_ACC_PUBLIC
)
655 ZEND_ME(ion_Reader_Reader
, isNull
, arginfo_class_ion_Reader_Reader_isNull
, ZEND_ACC_PUBLIC
)
656 ZEND_ME(ion_Reader_Reader
, isInStruct
, arginfo_class_ion_Reader_Reader_isInStruct
, ZEND_ACC_PUBLIC
)
657 ZEND_ME(ion_Reader_Reader
, getFieldName
, arginfo_class_ion_Reader_Reader_getFieldName
, ZEND_ACC_PUBLIC
)
658 ZEND_ME(ion_Reader_Reader
, getFieldNameSymbol
, arginfo_class_ion_Reader_Reader_getFieldNameSymbol
, ZEND_ACC_PUBLIC
)
659 ZEND_ME(ion_Reader_Reader
, getAnnotations
, arginfo_class_ion_Reader_Reader_getAnnotations
, ZEND_ACC_PUBLIC
)
660 ZEND_ME(ion_Reader_Reader
, getAnnotationSymbols
, arginfo_class_ion_Reader_Reader_getAnnotationSymbols
, ZEND_ACC_PUBLIC
)
661 ZEND_ME(ion_Reader_Reader
, countAnnotations
, arginfo_class_ion_Reader_Reader_countAnnotations
, ZEND_ACC_PUBLIC
)
662 ZEND_ME(ion_Reader_Reader
, getAnnotation
, arginfo_class_ion_Reader_Reader_getAnnotation
, ZEND_ACC_PUBLIC
)
663 ZEND_ME(ion_Reader_Reader
, getAnnotationSymbol
, arginfo_class_ion_Reader_Reader_getAnnotationSymbol
, ZEND_ACC_PUBLIC
)
664 ZEND_ME(ion_Reader_Reader
, readNull
, arginfo_class_ion_Reader_Reader_readNull
, ZEND_ACC_PUBLIC
)
665 ZEND_ME(ion_Reader_Reader
, readBool
, arginfo_class_ion_Reader_Reader_readBool
, ZEND_ACC_PUBLIC
)
666 ZEND_ME(ion_Reader_Reader
, readInt
, arginfo_class_ion_Reader_Reader_readInt
, ZEND_ACC_PUBLIC
)
667 ZEND_ME(ion_Reader_Reader
, readFloat
, arginfo_class_ion_Reader_Reader_readFloat
, ZEND_ACC_PUBLIC
)
668 ZEND_ME(ion_Reader_Reader
, readDecimal
, arginfo_class_ion_Reader_Reader_readDecimal
, ZEND_ACC_PUBLIC
)
669 ZEND_ME(ion_Reader_Reader
, readTimestamp
, arginfo_class_ion_Reader_Reader_readTimestamp
, ZEND_ACC_PUBLIC
)
670 ZEND_ME(ion_Reader_Reader
, readSymbol
, arginfo_class_ion_Reader_Reader_readSymbol
, ZEND_ACC_PUBLIC
)
671 ZEND_ME(ion_Reader_Reader
, readString
, arginfo_class_ion_Reader_Reader_readString
, ZEND_ACC_PUBLIC
)
672 ZEND_ME(ion_Reader_Reader
, readStringPart
, arginfo_class_ion_Reader_Reader_readStringPart
, ZEND_ACC_PUBLIC
)
673 ZEND_ME(ion_Reader_Reader
, readLob
, arginfo_class_ion_Reader_Reader_readLob
, ZEND_ACC_PUBLIC
)
674 ZEND_ME(ion_Reader_Reader
, readLobPart
, arginfo_class_ion_Reader_Reader_readLobPart
, ZEND_ACC_PUBLIC
)
675 ZEND_ME(ion_Reader_Reader
, getPosition
, arginfo_class_ion_Reader_Reader_getPosition
, ZEND_ACC_PUBLIC
)
676 ZEND_ME(ion_Reader_Reader
, getDepth
, arginfo_class_ion_Reader_Reader_getDepth
, ZEND_ACC_PUBLIC
)
677 ZEND_ME(ion_Reader_Reader
, seek
, arginfo_class_ion_Reader_Reader_seek
, ZEND_ACC_PUBLIC
)
678 ZEND_ME(ion_Reader_Reader
, getValueOffset
, arginfo_class_ion_Reader_Reader_getValueOffset
, ZEND_ACC_PUBLIC
)
679 ZEND_ME(ion_Reader_Reader
, getValueLength
, arginfo_class_ion_Reader_Reader_getValueLength
, ZEND_ACC_PUBLIC
)
684 static const zend_function_entry class_ion_Reader_Buffer_methods
[] = {
685 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Buffer
, getBuffer
, arginfo_class_ion_Reader_Buffer_getBuffer
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
690 static const zend_function_entry class_ion_Reader_Buffer_Reader_methods
[] = {
691 ZEND_ME(ion_Reader_Buffer_Reader
, __construct
, arginfo_class_ion_Reader_Buffer_Reader___construct
, ZEND_ACC_PUBLIC
)
692 ZEND_ME(ion_Reader_Buffer_Reader
, getBuffer
, arginfo_class_ion_Reader_Buffer_Reader_getBuffer
, ZEND_ACC_PUBLIC
)
697 static const zend_function_entry class_ion_Reader_Stream_methods
[] = {
698 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream
, getStream
, arginfo_class_ion_Reader_Stream_getStream
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
699 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream
, resetStream
, arginfo_class_ion_Reader_Stream_resetStream
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
700 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream
, resetStreamWithLength
, arginfo_class_ion_Reader_Stream_resetStreamWithLength
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
705 static const zend_function_entry class_ion_Reader_Stream_Reader_methods
[] = {
706 ZEND_ME(ion_Reader_Stream_Reader
, __construct
, arginfo_class_ion_Reader_Stream_Reader___construct
, ZEND_ACC_PUBLIC
)
707 ZEND_ME(ion_Reader_Stream_Reader
, getStream
, arginfo_class_ion_Reader_Stream_Reader_getStream
, ZEND_ACC_PUBLIC
)
708 ZEND_ME(ion_Reader_Stream_Reader
, resetStream
, arginfo_class_ion_Reader_Stream_Reader_resetStream
, ZEND_ACC_PUBLIC
)
709 ZEND_ME(ion_Reader_Stream_Reader
, resetStreamWithLength
, arginfo_class_ion_Reader_Stream_Reader_resetStreamWithLength
, ZEND_ACC_PUBLIC
)
714 static const zend_function_entry class_ion_Writer_Options_methods
[] = {
715 ZEND_ME(ion_Writer_Options
, __construct
, arginfo_class_ion_Writer_Options___construct
, ZEND_ACC_PUBLIC
)
720 static const zend_function_entry class_ion_Writer_methods
[] = {
721 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeNull
, arginfo_class_ion_Writer_writeNull
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
722 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeTypedNull
, arginfo_class_ion_Writer_writeTypedNull
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
723 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeBool
, arginfo_class_ion_Writer_writeBool
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
724 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeInt
, arginfo_class_ion_Writer_writeInt
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
725 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeFloat
, arginfo_class_ion_Writer_writeFloat
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
726 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeDecimal
, arginfo_class_ion_Writer_writeDecimal
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
727 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeTimestamp
, arginfo_class_ion_Writer_writeTimestamp
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
728 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeSymbol
, arginfo_class_ion_Writer_writeSymbol
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
729 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeString
, arginfo_class_ion_Writer_writeString
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
730 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeCLob
, arginfo_class_ion_Writer_writeCLob
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
731 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeBLob
, arginfo_class_ion_Writer_writeBLob
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
732 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, startLob
, arginfo_class_ion_Writer_startLob
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
733 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, appendLob
, arginfo_class_ion_Writer_appendLob
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
734 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, finishLob
, arginfo_class_ion_Writer_finishLob
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
735 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, startContainer
, arginfo_class_ion_Writer_startContainer
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
736 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, finishContainer
, arginfo_class_ion_Writer_finishContainer
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
737 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeFieldName
, arginfo_class_ion_Writer_writeFieldName
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
738 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeAnnotation
, arginfo_class_ion_Writer_writeAnnotation
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
739 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, getDepth
, arginfo_class_ion_Writer_getDepth
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
740 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, flush
, arginfo_class_ion_Writer_flush
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
741 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, finish
, arginfo_class_ion_Writer_finish
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
742 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeOne
, arginfo_class_ion_Writer_writeOne
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
743 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer
, writeAll
, arginfo_class_ion_Writer_writeAll
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
748 static const zend_function_entry class_ion_Writer_Writer_methods
[] = {
749 ZEND_ME(ion_Writer_Writer
, writeNull
, arginfo_class_ion_Writer_Writer_writeNull
, ZEND_ACC_PUBLIC
)
750 ZEND_ME(ion_Writer_Writer
, writeTypedNull
, arginfo_class_ion_Writer_Writer_writeTypedNull
, ZEND_ACC_PUBLIC
)
751 ZEND_ME(ion_Writer_Writer
, writeBool
, arginfo_class_ion_Writer_Writer_writeBool
, ZEND_ACC_PUBLIC
)
752 ZEND_ME(ion_Writer_Writer
, writeInt
, arginfo_class_ion_Writer_Writer_writeInt
, ZEND_ACC_PUBLIC
)
753 ZEND_ME(ion_Writer_Writer
, writeFloat
, arginfo_class_ion_Writer_Writer_writeFloat
, ZEND_ACC_PUBLIC
)
754 ZEND_ME(ion_Writer_Writer
, writeDecimal
, arginfo_class_ion_Writer_Writer_writeDecimal
, ZEND_ACC_PUBLIC
)
755 ZEND_ME(ion_Writer_Writer
, writeTimestamp
, arginfo_class_ion_Writer_Writer_writeTimestamp
, ZEND_ACC_PUBLIC
)
756 ZEND_ME(ion_Writer_Writer
, writeSymbol
, arginfo_class_ion_Writer_Writer_writeSymbol
, ZEND_ACC_PUBLIC
)
757 ZEND_ME(ion_Writer_Writer
, writeString
, arginfo_class_ion_Writer_Writer_writeString
, ZEND_ACC_PUBLIC
)
758 ZEND_ME(ion_Writer_Writer
, writeCLob
, arginfo_class_ion_Writer_Writer_writeCLob
, ZEND_ACC_PUBLIC
)
759 ZEND_ME(ion_Writer_Writer
, writeBLob
, arginfo_class_ion_Writer_Writer_writeBLob
, ZEND_ACC_PUBLIC
)
760 ZEND_ME(ion_Writer_Writer
, startLob
, arginfo_class_ion_Writer_Writer_startLob
, ZEND_ACC_PUBLIC
)
761 ZEND_ME(ion_Writer_Writer
, appendLob
, arginfo_class_ion_Writer_Writer_appendLob
, ZEND_ACC_PUBLIC
)
762 ZEND_ME(ion_Writer_Writer
, finishLob
, arginfo_class_ion_Writer_Writer_finishLob
, ZEND_ACC_PUBLIC
)
763 ZEND_ME(ion_Writer_Writer
, startContainer
, arginfo_class_ion_Writer_Writer_startContainer
, ZEND_ACC_PUBLIC
)
764 ZEND_ME(ion_Writer_Writer
, finishContainer
, arginfo_class_ion_Writer_Writer_finishContainer
, ZEND_ACC_PUBLIC
)
765 ZEND_ME(ion_Writer_Writer
, writeFieldName
, arginfo_class_ion_Writer_Writer_writeFieldName
, ZEND_ACC_PUBLIC
)
766 ZEND_ME(ion_Writer_Writer
, writeAnnotation
, arginfo_class_ion_Writer_Writer_writeAnnotation
, ZEND_ACC_PUBLIC
)
767 ZEND_ME(ion_Writer_Writer
, getDepth
, arginfo_class_ion_Writer_Writer_getDepth
, ZEND_ACC_PUBLIC
)
768 ZEND_ME(ion_Writer_Writer
, flush
, arginfo_class_ion_Writer_Writer_flush
, ZEND_ACC_PUBLIC
)
769 ZEND_ME(ion_Writer_Writer
, finish
, arginfo_class_ion_Writer_Writer_finish
, ZEND_ACC_PUBLIC
)
770 ZEND_ME(ion_Writer_Writer
, writeOne
, arginfo_class_ion_Writer_Writer_writeOne
, ZEND_ACC_PUBLIC
)
771 ZEND_ME(ion_Writer_Writer
, writeAll
, arginfo_class_ion_Writer_Writer_writeAll
, ZEND_ACC_PUBLIC
)
776 static const zend_function_entry class_ion_Writer_Buffer_methods
[] = {
777 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer_Buffer
, getBuffer
, arginfo_class_ion_Writer_Buffer_getBuffer
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
782 static const zend_function_entry class_ion_Writer_Buffer_Writer_methods
[] = {
783 ZEND_ME(ion_Writer_Buffer_Writer
, __construct
, arginfo_class_ion_Writer_Buffer_Writer___construct
, ZEND_ACC_PUBLIC
)
784 ZEND_ME(ion_Writer_Buffer_Writer
, getBuffer
, arginfo_class_ion_Writer_Buffer_Writer_getBuffer
, ZEND_ACC_PUBLIC
)
789 static const zend_function_entry class_ion_Writer_Stream_methods
[] = {
790 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer_Stream
, getStream
, arginfo_class_ion_Writer_Stream_getStream
, ZEND_ACC_PUBLIC
|ZEND_ACC_ABSTRACT
)
795 static const zend_function_entry class_ion_Writer_Stream_Writer_methods
[] = {
796 ZEND_ME(ion_Writer_Stream_Writer
, __construct
, arginfo_class_ion_Writer_Stream_Writer___construct
, ZEND_ACC_PUBLIC
)
797 ZEND_ME(ion_Writer_Stream_Writer
, getStream
, arginfo_class_ion_Writer_Stream_Writer_getStream
, ZEND_ACC_PUBLIC
)
802 static const zend_function_entry class_ion_PHP_Serializer_methods
[] = {
803 ZEND_ME(ion_PHP_Serializer
, __construct
, arginfo_class_ion_PHP_Serializer___construct
, ZEND_ACC_PUBLIC
)
804 ZEND_ME(ion_PHP_Serializer
, __invoke
, arginfo_class_ion_PHP_Serializer___invoke
, ZEND_ACC_PUBLIC
)
805 ZEND_ME(ion_PHP_Serializer
, serialize
, arginfo_class_ion_PHP_Serializer_serialize
, ZEND_ACC_PROTECTED
)
810 static const zend_function_entry class_ion_PHP_Unserializer_methods
[] = {
811 ZEND_ME(ion_PHP_Unserializer
, __construct
, arginfo_class_ion_PHP_Unserializer___construct
, ZEND_ACC_PUBLIC
)
812 ZEND_ME(ion_PHP_Unserializer
, __invoke
, arginfo_class_ion_PHP_Unserializer___invoke
, ZEND_ACC_PUBLIC
)
813 ZEND_ME(ion_PHP_Unserializer
, unserialize
, arginfo_class_ion_PHP_Unserializer_unserialize
, ZEND_ACC_PROTECTED
)
817 static zend_class_entry
*register_class_ion_Type(void)
819 zend_class_entry
*class_entry
= zend_register_internal_enum("ion\\Type", IS_LONG
, class_ion_Type_methods
);
821 zval enum_case_Null_value
;
822 ZVAL_LONG(&enum_case_Null_value
, 0);
823 zend_enum_add_case_cstr(class_entry
, "Null", &enum_case_Null_value
);
825 zval enum_case_Bool_value
;
826 ZVAL_LONG(&enum_case_Bool_value
, 256);
827 zend_enum_add_case_cstr(class_entry
, "Bool", &enum_case_Bool_value
);
829 zval enum_case_Int_value
;
830 ZVAL_LONG(&enum_case_Int_value
, 512);
831 zend_enum_add_case_cstr(class_entry
, "Int", &enum_case_Int_value
);
833 zval enum_case_Float_value
;
834 ZVAL_LONG(&enum_case_Float_value
, 1024);
835 zend_enum_add_case_cstr(class_entry
, "Float", &enum_case_Float_value
);
837 zval enum_case_Decimal_value
;
838 ZVAL_LONG(&enum_case_Decimal_value
, 1280);
839 zend_enum_add_case_cstr(class_entry
, "Decimal", &enum_case_Decimal_value
);
841 zval enum_case_Timestamp_value
;
842 ZVAL_LONG(&enum_case_Timestamp_value
, 1536);
843 zend_enum_add_case_cstr(class_entry
, "Timestamp", &enum_case_Timestamp_value
);
845 zval enum_case_Symbol_value
;
846 ZVAL_LONG(&enum_case_Symbol_value
, 1792);
847 zend_enum_add_case_cstr(class_entry
, "Symbol", &enum_case_Symbol_value
);
849 zval enum_case_String_value
;
850 ZVAL_LONG(&enum_case_String_value
, 2048);
851 zend_enum_add_case_cstr(class_entry
, "String", &enum_case_String_value
);
853 zval enum_case_CLob_value
;
854 ZVAL_LONG(&enum_case_CLob_value
, 2304);
855 zend_enum_add_case_cstr(class_entry
, "CLob", &enum_case_CLob_value
);
857 zval enum_case_BLob_value
;
858 ZVAL_LONG(&enum_case_BLob_value
, 2560);
859 zend_enum_add_case_cstr(class_entry
, "BLob", &enum_case_BLob_value
);
861 zval enum_case_AList_value
;
862 ZVAL_LONG(&enum_case_AList_value
, 2816);
863 zend_enum_add_case_cstr(class_entry
, "AList", &enum_case_AList_value
);
865 zval enum_case_SExp_value
;
866 ZVAL_LONG(&enum_case_SExp_value
, 3072);
867 zend_enum_add_case_cstr(class_entry
, "SExp", &enum_case_SExp_value
);
869 zval enum_case_Struct_value
;
870 ZVAL_LONG(&enum_case_Struct_value
, 3328);
871 zend_enum_add_case_cstr(class_entry
, "Struct", &enum_case_Struct_value
);
873 zval enum_case_Datagram_value
;
874 ZVAL_LONG(&enum_case_Datagram_value
, 3840);
875 zend_enum_add_case_cstr(class_entry
, "Datagram", &enum_case_Datagram_value
);
877 zval enum_case_EOF_value
;
878 ZVAL_LONG(&enum_case_EOF_value
, -256);
879 zend_enum_add_case_cstr(class_entry
, "EOF", &enum_case_EOF_value
);
881 zval enum_case_NONE_value
;
882 ZVAL_LONG(&enum_case_NONE_value
, -512);
883 zend_enum_add_case_cstr(class_entry
, "NONE", &enum_case_NONE_value
);
888 static zend_class_entry
*register_class_ion_Annotation(void)
890 zend_class_entry
*class_entry
= zend_register_internal_enum("ion\\Annotation", IS_STRING
, class_ion_Annotation_methods
);
892 zval enum_case_PHP_value
;
893 zend_string
*enum_case_PHP_value_str
= zend_string_init("PHP", sizeof("PHP") - 1, 1);
894 ZVAL_STR(&enum_case_PHP_value
, enum_case_PHP_value_str
);
895 zend_enum_add_case_cstr(class_entry
, "PHP", &enum_case_PHP_value
);
897 zval enum_case_REFERENCE_value
;
898 zend_string
*enum_case_REFERENCE_value_str
= zend_string_init("R", sizeof("R") - 1, 1);
899 ZVAL_STR(&enum_case_REFERENCE_value
, enum_case_REFERENCE_value_str
);
900 zend_enum_add_case_cstr(class_entry
, "REFERENCE", &enum_case_REFERENCE_value
);
902 zval enum_case_BACKREF_value
;
903 zend_string
*enum_case_BACKREF_value_str
= zend_string_init("r", sizeof("r") - 1, 1);
904 ZVAL_STR(&enum_case_BACKREF_value
, enum_case_BACKREF_value_str
);
905 zend_enum_add_case_cstr(class_entry
, "BACKREF", &enum_case_BACKREF_value
);
907 zval enum_case_OBJECT_value
;
908 zend_string
*enum_case_OBJECT_value_str
= zend_string_init("o", sizeof("o") - 1, 1);
909 ZVAL_STR(&enum_case_OBJECT_value
, enum_case_OBJECT_value_str
);
910 zend_enum_add_case_cstr(class_entry
, "OBJECT", &enum_case_OBJECT_value
);
912 zval enum_case_CLASS_OBJ_value
;
913 zend_string
*enum_case_CLASS_OBJ_value_str
= zend_string_init("c", sizeof("c") - 1, 1);
914 ZVAL_STR(&enum_case_CLASS_OBJ_value
, enum_case_CLASS_OBJ_value_str
);
915 zend_enum_add_case_cstr(class_entry
, "CLASS_OBJ", &enum_case_CLASS_OBJ_value
);
917 zval enum_case_MAGIC_OBJ_value
;
918 zend_string
*enum_case_MAGIC_OBJ_value_str
= zend_string_init("O", sizeof("O") - 1, 1);
919 ZVAL_STR(&enum_case_MAGIC_OBJ_value
, enum_case_MAGIC_OBJ_value_str
);
920 zend_enum_add_case_cstr(class_entry
, "MAGIC_OBJ", &enum_case_MAGIC_OBJ_value
);
922 zval enum_case_CUSTOM_OBJ_value
;
923 zend_string
*enum_case_CUSTOM_OBJ_value_str
= zend_string_init("C", sizeof("C") - 1, 1);
924 ZVAL_STR(&enum_case_CUSTOM_OBJ_value
, enum_case_CUSTOM_OBJ_value_str
);
925 zend_enum_add_case_cstr(class_entry
, "CUSTOM_OBJ", &enum_case_CUSTOM_OBJ_value
);
927 zval enum_case_SERIALIZABLE_value
;
928 zend_string
*enum_case_SERIALIZABLE_value_str
= zend_string_init("S", sizeof("S") - 1, 1);
929 ZVAL_STR(&enum_case_SERIALIZABLE_value
, enum_case_SERIALIZABLE_value_str
);
930 zend_enum_add_case_cstr(class_entry
, "SERIALIZABLE", &enum_case_SERIALIZABLE_value
);
932 zval enum_case_ENUM_value
;
933 zend_string
*enum_case_ENUM_value_str
= zend_string_init("E", sizeof("E") - 1, 1);
934 ZVAL_STR(&enum_case_ENUM_value
, enum_case_ENUM_value_str
);
935 zend_enum_add_case_cstr(class_entry
, "ENUM", &enum_case_ENUM_value
);
937 zval enum_case_FIELD_NAME_INT_value
;
938 zend_string
*enum_case_FIELD_NAME_INT_value_str
= zend_string_init("i", sizeof("i") - 1, 1);
939 ZVAL_STR(&enum_case_FIELD_NAME_INT_value
, enum_case_FIELD_NAME_INT_value_str
);
940 zend_enum_add_case_cstr(class_entry
, "FIELD_NAME_INT", &enum_case_FIELD_NAME_INT_value
);
945 static zend_class_entry
*register_class_ion_Symbol_ImportLocation(void)
947 zend_class_entry ce
, *class_entry
;
949 INIT_NS_CLASS_ENTRY(ce
, "ion\\Symbol", "ImportLocation", class_ion_Symbol_ImportLocation_methods
);
950 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
952 zval property_name_default_value
;
953 ZVAL_UNDEF(&property_name_default_value
);
954 zend_string
*property_name_name
= zend_string_init("name", sizeof("name") - 1, 1);
955 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
));
956 zend_string_release(property_name_name
);
958 zval property_location_default_value
;
959 ZVAL_UNDEF(&property_location_default_value
);
960 zend_string
*property_location_name
= zend_string_init("location", sizeof("location") - 1, 1);
961 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
));
962 zend_string_release(property_location_name
);
967 static zend_class_entry
*register_class_ion_Symbol_System(void)
969 zend_class_entry
*class_entry
= zend_register_internal_enum("ion\\Symbol\\System", IS_STRING
, class_ion_Symbol_System_methods
);
971 zval enum_case_Ion_value
;
972 zend_string
*enum_case_Ion_value_str
= zend_string_init("$ion", sizeof("$ion") - 1, 1);
973 ZVAL_STR(&enum_case_Ion_value
, enum_case_Ion_value_str
);
974 zend_enum_add_case_cstr(class_entry
, "Ion", &enum_case_Ion_value
);
976 zval enum_case_Ivm_1_0_value
;
977 zend_string
*enum_case_Ivm_1_0_value_str
= zend_string_init("$ion_1_0", sizeof("$ion_1_0") - 1, 1);
978 ZVAL_STR(&enum_case_Ivm_1_0_value
, enum_case_Ivm_1_0_value_str
);
979 zend_enum_add_case_cstr(class_entry
, "Ivm_1_0", &enum_case_Ivm_1_0_value
);
981 zval enum_case_IonSymbolTable_value
;
982 zend_string
*enum_case_IonSymbolTable_value_str
= zend_string_init("$ion_symbol_table", sizeof("$ion_symbol_table") - 1, 1);
983 ZVAL_STR(&enum_case_IonSymbolTable_value
, enum_case_IonSymbolTable_value_str
);
984 zend_enum_add_case_cstr(class_entry
, "IonSymbolTable", &enum_case_IonSymbolTable_value
);
986 zval enum_case_Name_value
;
987 zend_string
*enum_case_Name_value_str
= zend_string_init("name", sizeof("name") - 1, 1);
988 ZVAL_STR(&enum_case_Name_value
, enum_case_Name_value_str
);
989 zend_enum_add_case_cstr(class_entry
, "Name", &enum_case_Name_value
);
991 zval enum_case_Version_value
;
992 zend_string
*enum_case_Version_value_str
= zend_string_init("version", sizeof("version") - 1, 1);
993 ZVAL_STR(&enum_case_Version_value
, enum_case_Version_value_str
);
994 zend_enum_add_case_cstr(class_entry
, "Version", &enum_case_Version_value
);
996 zval enum_case_Imports_value
;
997 zend_string
*enum_case_Imports_value_str
= zend_string_init("imports", sizeof("imports") - 1, 1);
998 ZVAL_STR(&enum_case_Imports_value
, enum_case_Imports_value_str
);
999 zend_enum_add_case_cstr(class_entry
, "Imports", &enum_case_Imports_value
);
1001 zval enum_case_Symbols_value
;
1002 zend_string
*enum_case_Symbols_value_str
= zend_string_init("symbols", sizeof("symbols") - 1, 1);
1003 ZVAL_STR(&enum_case_Symbols_value
, enum_case_Symbols_value_str
);
1004 zend_enum_add_case_cstr(class_entry
, "Symbols", &enum_case_Symbols_value
);
1006 zval enum_case_MaxId_value
;
1007 zend_string
*enum_case_MaxId_value_str
= zend_string_init("max_id", sizeof("max_id") - 1, 1);
1008 ZVAL_STR(&enum_case_MaxId_value
, enum_case_MaxId_value_str
);
1009 zend_enum_add_case_cstr(class_entry
, "MaxId", &enum_case_MaxId_value
);
1011 zval enum_case_SharedSymbolTable_value
;
1012 zend_string
*enum_case_SharedSymbolTable_value_str
= zend_string_init("$ion_shared_symbol_table", sizeof("$ion_shared_symbol_table") - 1, 1);
1013 ZVAL_STR(&enum_case_SharedSymbolTable_value
, enum_case_SharedSymbolTable_value_str
);
1014 zend_enum_add_case_cstr(class_entry
, "SharedSymbolTable", &enum_case_SharedSymbolTable_value
);
1019 static zend_class_entry
*register_class_ion_Symbol_System_SID(void)
1021 zend_class_entry
*class_entry
= zend_register_internal_enum("ion\\Symbol\\System\\SID", IS_LONG
, class_ion_Symbol_System_SID_methods
);
1023 zval enum_case_Ion_value
;
1024 ZVAL_LONG(&enum_case_Ion_value
, 1);
1025 zend_enum_add_case_cstr(class_entry
, "Ion", &enum_case_Ion_value
);
1027 zval enum_case_Ivm_1_0_value
;
1028 ZVAL_LONG(&enum_case_Ivm_1_0_value
, 2);
1029 zend_enum_add_case_cstr(class_entry
, "Ivm_1_0", &enum_case_Ivm_1_0_value
);
1031 zval enum_case_IonSymbolTable_value
;
1032 ZVAL_LONG(&enum_case_IonSymbolTable_value
, 3);
1033 zend_enum_add_case_cstr(class_entry
, "IonSymbolTable", &enum_case_IonSymbolTable_value
);
1035 zval enum_case_Name_value
;
1036 ZVAL_LONG(&enum_case_Name_value
, 4);
1037 zend_enum_add_case_cstr(class_entry
, "Name", &enum_case_Name_value
);
1039 zval enum_case_Version_value
;
1040 ZVAL_LONG(&enum_case_Version_value
, 5);
1041 zend_enum_add_case_cstr(class_entry
, "Version", &enum_case_Version_value
);
1043 zval enum_case_Imports_value
;
1044 ZVAL_LONG(&enum_case_Imports_value
, 6);
1045 zend_enum_add_case_cstr(class_entry
, "Imports", &enum_case_Imports_value
);
1047 zval enum_case_Symbols_value
;
1048 ZVAL_LONG(&enum_case_Symbols_value
, 7);
1049 zend_enum_add_case_cstr(class_entry
, "Symbols", &enum_case_Symbols_value
);
1051 zval enum_case_MaxId_value
;
1052 ZVAL_LONG(&enum_case_MaxId_value
, 8);
1053 zend_enum_add_case_cstr(class_entry
, "MaxId", &enum_case_MaxId_value
);
1055 zval enum_case_SharedSymbolTable_value
;
1056 ZVAL_LONG(&enum_case_SharedSymbolTable_value
, 9);
1057 zend_enum_add_case_cstr(class_entry
, "SharedSymbolTable", &enum_case_SharedSymbolTable_value
);
1062 static zend_class_entry
*register_class_ion_Symbol(void)
1064 zend_class_entry ce
, *class_entry
;
1066 INIT_NS_CLASS_ENTRY(ce
, "ion", "Symbol", class_ion_Symbol_methods
);
1067 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1069 zval property_value_default_value
;
1070 ZVAL_UNDEF(&property_value_default_value
);
1071 zend_string
*property_value_name
= zend_string_init("value", sizeof("value") - 1, 1);
1072 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
));
1073 zend_string_release(property_value_name
);
1075 zval property_sid_default_value
;
1076 ZVAL_UNDEF(&property_sid_default_value
);
1077 zend_string
*property_sid_name
= zend_string_init("sid", sizeof("sid") - 1, 1);
1078 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
));
1079 zend_string_release(property_sid_name
);
1081 zend_string
*property_importLocation_class_ion_Symbol_ImportLocation
= zend_string_init("ion\\Symbol\\ImportLocation", sizeof("ion\\Symbol\\ImportLocation")-1, 1);
1082 zval property_importLocation_default_value
;
1083 ZVAL_UNDEF(&property_importLocation_default_value
);
1084 zend_string
*property_importLocation_name
= zend_string_init("importLocation", sizeof("importLocation") - 1, 1);
1085 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
));
1086 zend_string_release(property_importLocation_name
);
1091 static zend_class_entry
*register_class_ion_Symbol_Table(void)
1093 zend_class_entry ce
, *class_entry
;
1095 INIT_NS_CLASS_ENTRY(ce
, "ion\\Symbol", "Table", class_ion_Symbol_Table_methods
);
1096 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1101 static zend_class_entry
*register_class_ion_Catalog(void)
1103 zend_class_entry ce
, *class_entry
;
1105 INIT_NS_CLASS_ENTRY(ce
, "ion", "Catalog", class_ion_Catalog_methods
);
1106 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1111 static zend_class_entry
*register_class_ion_Collection(void)
1113 zend_class_entry ce
, *class_entry
;
1115 INIT_NS_CLASS_ENTRY(ce
, "ion", "Collection", class_ion_Collection_methods
);
1116 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1121 static zend_class_entry
*register_class_ion_Decimal_Context(void)
1123 zend_class_entry ce
, *class_entry
;
1125 INIT_NS_CLASS_ENTRY(ce
, "ion\\Decimal", "Context", class_ion_Decimal_Context_methods
);
1126 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1128 zval property_bits_default_value
;
1129 ZVAL_UNDEF(&property_bits_default_value
);
1130 zend_string
*property_bits_name
= zend_string_init("bits", sizeof("bits") - 1, 1);
1131 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
));
1132 zend_string_release(property_bits_name
);
1137 static zend_class_entry
*register_class_ion_Decimal(void)
1139 zend_class_entry ce
, *class_entry
;
1141 INIT_NS_CLASS_ENTRY(ce
, "ion", "Decimal", class_ion_Decimal_methods
);
1142 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1144 zval property_number_default_value
;
1145 ZVAL_UNDEF(&property_number_default_value
);
1146 zend_string
*property_number_name
= zend_string_init("number", sizeof("number") - 1, 1);
1147 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
));
1148 zend_string_release(property_number_name
);
1150 zend_string
*property_context_class_ion_Decimal_Context
= zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1151 zval property_context_default_value
;
1152 ZVAL_UNDEF(&property_context_default_value
);
1153 zend_string
*property_context_name
= zend_string_init("context", sizeof("context") - 1, 1);
1154 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
));
1155 zend_string_release(property_context_name
);
1160 static zend_class_entry
*register_class_ion_Timestamp(zend_class_entry
*class_entry_DateTime
)
1162 zend_class_entry ce
, *class_entry
;
1164 INIT_NS_CLASS_ENTRY(ce
, "ion", "Timestamp", class_ion_Timestamp_methods
);
1165 class_entry
= zend_register_internal_class_ex(&ce
, class_entry_DateTime
);
1167 zval property_precision_default_value
;
1168 ZVAL_UNDEF(&property_precision_default_value
);
1169 zend_string
*property_precision_name
= zend_string_init("precision", sizeof("precision") - 1, 1);
1170 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
));
1171 zend_string_release(property_precision_name
);
1173 zval property_format_default_value
;
1174 ZVAL_UNDEF(&property_format_default_value
);
1175 zend_string
*property_format_name
= zend_string_init("format", sizeof("format") - 1, 1);
1176 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
));
1177 zend_string_release(property_format_name
);
1182 static zend_class_entry
*register_class_ion_Reader(zend_class_entry
*class_entry_RecursiveIterator
)
1184 zend_class_entry ce
, *class_entry
;
1186 INIT_NS_CLASS_ENTRY(ce
, "ion", "Reader", class_ion_Reader_methods
);
1187 class_entry
= zend_register_internal_interface(&ce
);
1188 zend_class_implements(class_entry
, 1, class_entry_RecursiveIterator
);
1193 static zend_class_entry
*register_class_ion_Reader_Options(void)
1195 zend_class_entry ce
, *class_entry
;
1197 INIT_NS_CLASS_ENTRY(ce
, "ion\\Reader", "Options", class_ion_Reader_Options_methods
);
1198 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1200 zend_string
*property_catalog_class_ion_Catalog
= zend_string_init("ion\\Catalog", sizeof("ion\\Catalog")-1, 1);
1201 zval property_catalog_default_value
;
1202 ZVAL_UNDEF(&property_catalog_default_value
);
1203 zend_string
*property_catalog_name
= zend_string_init("catalog", sizeof("catalog") - 1, 1);
1204 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
));
1205 zend_string_release(property_catalog_name
);
1207 zend_string
*property_decimalContext_class_ion_Decimal_Context
= zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1208 zval property_decimalContext_default_value
;
1209 ZVAL_UNDEF(&property_decimalContext_default_value
);
1210 zend_string
*property_decimalContext_name
= zend_string_init("decimalContext", sizeof("decimalContext") - 1, 1);
1211 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
));
1212 zend_string_release(property_decimalContext_name
);
1214 zend_string
*property_onContextChange_class_Closure
= zend_string_init("Closure", sizeof("Closure")-1, 1);
1215 zval property_onContextChange_default_value
;
1216 ZVAL_UNDEF(&property_onContextChange_default_value
);
1217 zend_string
*property_onContextChange_name
= zend_string_init("onContextChange", sizeof("onContextChange") - 1, 1);
1218 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
));
1219 zend_string_release(property_onContextChange_name
);
1221 zval property_returnSystemValues_default_value
;
1222 ZVAL_UNDEF(&property_returnSystemValues_default_value
);
1223 zend_string
*property_returnSystemValues_name
= zend_string_init("returnSystemValues", sizeof("returnSystemValues") - 1, 1);
1224 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
));
1225 zend_string_release(property_returnSystemValues_name
);
1227 zval property_newLine_default_value
;
1228 ZVAL_UNDEF(&property_newLine_default_value
);
1229 zend_string
*property_newLine_name
= zend_string_init("newLine", sizeof("newLine") - 1, 1);
1230 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
));
1231 zend_string_release(property_newLine_name
);
1233 zval property_maxContainerDepth_default_value
;
1234 ZVAL_UNDEF(&property_maxContainerDepth_default_value
);
1235 zend_string
*property_maxContainerDepth_name
= zend_string_init("maxContainerDepth", sizeof("maxContainerDepth") - 1, 1);
1236 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
));
1237 zend_string_release(property_maxContainerDepth_name
);
1239 zval property_maxAnnotations_default_value
;
1240 ZVAL_UNDEF(&property_maxAnnotations_default_value
);
1241 zend_string
*property_maxAnnotations_name
= zend_string_init("maxAnnotations", sizeof("maxAnnotations") - 1, 1);
1242 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
));
1243 zend_string_release(property_maxAnnotations_name
);
1245 zval property_maxAnnotationBuffered_default_value
;
1246 ZVAL_UNDEF(&property_maxAnnotationBuffered_default_value
);
1247 zend_string
*property_maxAnnotationBuffered_name
= zend_string_init("maxAnnotationBuffered", sizeof("maxAnnotationBuffered") - 1, 1);
1248 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
));
1249 zend_string_release(property_maxAnnotationBuffered_name
);
1251 zval property_symbolThreshold_default_value
;
1252 ZVAL_UNDEF(&property_symbolThreshold_default_value
);
1253 zend_string
*property_symbolThreshold_name
= zend_string_init("symbolThreshold", sizeof("symbolThreshold") - 1, 1);
1254 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
));
1255 zend_string_release(property_symbolThreshold_name
);
1257 zval property_userValueThreshold_default_value
;
1258 ZVAL_UNDEF(&property_userValueThreshold_default_value
);
1259 zend_string
*property_userValueThreshold_name
= zend_string_init("userValueThreshold", sizeof("userValueThreshold") - 1, 1);
1260 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
));
1261 zend_string_release(property_userValueThreshold_name
);
1263 zval property_chunkThreshold_default_value
;
1264 ZVAL_UNDEF(&property_chunkThreshold_default_value
);
1265 zend_string
*property_chunkThreshold_name
= zend_string_init("chunkThreshold", sizeof("chunkThreshold") - 1, 1);
1266 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
));
1267 zend_string_release(property_chunkThreshold_name
);
1269 zval property_allocationPageSize_default_value
;
1270 ZVAL_UNDEF(&property_allocationPageSize_default_value
);
1271 zend_string
*property_allocationPageSize_name
= zend_string_init("allocationPageSize", sizeof("allocationPageSize") - 1, 1);
1272 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
));
1273 zend_string_release(property_allocationPageSize_name
);
1275 zval property_skipCharacterValidation_default_value
;
1276 ZVAL_UNDEF(&property_skipCharacterValidation_default_value
);
1277 zend_string
*property_skipCharacterValidation_name
= zend_string_init("skipCharacterValidation", sizeof("skipCharacterValidation") - 1, 1);
1278 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
));
1279 zend_string_release(property_skipCharacterValidation_name
);
1284 static zend_class_entry
*register_class_ion_Reader_Reader(zend_class_entry
*class_entry_ion_Reader
)
1286 zend_class_entry ce
, *class_entry
;
1288 INIT_NS_CLASS_ENTRY(ce
, "ion\\Reader", "Reader", class_ion_Reader_Reader_methods
);
1289 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1290 class_entry
->ce_flags
|= ZEND_ACC_ABSTRACT
;
1291 zend_class_implements(class_entry
, 1, class_entry_ion_Reader
);
1293 zend_string
*property_options_class_ion_Reader_Options
= zend_string_init("ion\\Reader\\Options", sizeof("ion\\Reader\\Options")-1, 1);
1294 zval property_options_default_value
;
1295 ZVAL_UNDEF(&property_options_default_value
);
1296 zend_string
*property_options_name
= zend_string_init("options", sizeof("options") - 1, 1);
1297 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
));
1298 zend_string_release(property_options_name
);
1303 static zend_class_entry
*register_class_ion_Reader_Buffer(zend_class_entry
*class_entry_ion_Reader
)
1305 zend_class_entry ce
, *class_entry
;
1307 INIT_NS_CLASS_ENTRY(ce
, "ion\\Reader", "Buffer", class_ion_Reader_Buffer_methods
);
1308 class_entry
= zend_register_internal_interface(&ce
);
1309 zend_class_implements(class_entry
, 1, class_entry_ion_Reader
);
1314 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
)
1316 zend_class_entry ce
, *class_entry
;
1318 INIT_NS_CLASS_ENTRY(ce
, "ion\\Reader\\Buffer", "Reader", class_ion_Reader_Buffer_Reader_methods
);
1319 class_entry
= zend_register_internal_class_ex(&ce
, class_entry_ion_Reader_Reader
);
1320 zend_class_implements(class_entry
, 1, class_entry_ion_Reader_Buffer
);
1325 static zend_class_entry
*register_class_ion_Reader_Stream(zend_class_entry
*class_entry_ion_Reader
)
1327 zend_class_entry ce
, *class_entry
;
1329 INIT_NS_CLASS_ENTRY(ce
, "ion\\Reader", "Stream", class_ion_Reader_Stream_methods
);
1330 class_entry
= zend_register_internal_interface(&ce
);
1331 zend_class_implements(class_entry
, 1, class_entry_ion_Reader
);
1336 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
)
1338 zend_class_entry ce
, *class_entry
;
1340 INIT_NS_CLASS_ENTRY(ce
, "ion\\Reader\\Stream", "Reader", class_ion_Reader_Stream_Reader_methods
);
1341 class_entry
= zend_register_internal_class_ex(&ce
, class_entry_ion_Reader_Reader
);
1342 zend_class_implements(class_entry
, 1, class_entry_ion_Reader_Stream
);
1347 static zend_class_entry
*register_class_ion_Writer_Options(void)
1349 zend_class_entry ce
, *class_entry
;
1351 INIT_NS_CLASS_ENTRY(ce
, "ion\\Writer", "Options", class_ion_Writer_Options_methods
);
1352 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1354 zend_string
*property_catalog_class_ion_Catalog
= zend_string_init("ion\\Catalog", sizeof("ion\\Catalog")-1, 1);
1355 zval property_catalog_default_value
;
1356 ZVAL_UNDEF(&property_catalog_default_value
);
1357 zend_string
*property_catalog_name
= zend_string_init("catalog", sizeof("catalog") - 1, 1);
1358 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
));
1359 zend_string_release(property_catalog_name
);
1361 zend_string
*property_decimalContext_class_ion_Decimal_Context
= zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1362 zval property_decimalContext_default_value
;
1363 ZVAL_UNDEF(&property_decimalContext_default_value
);
1364 zend_string
*property_decimalContext_name
= zend_string_init("decimalContext", sizeof("decimalContext") - 1, 1);
1365 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
));
1366 zend_string_release(property_decimalContext_name
);
1368 zval property_outputBinary_default_value
;
1369 ZVAL_UNDEF(&property_outputBinary_default_value
);
1370 zend_string
*property_outputBinary_name
= zend_string_init("outputBinary", sizeof("outputBinary") - 1, 1);
1371 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
));
1372 zend_string_release(property_outputBinary_name
);
1374 zval property_compactFloats_default_value
;
1375 ZVAL_UNDEF(&property_compactFloats_default_value
);
1376 zend_string
*property_compactFloats_name
= zend_string_init("compactFloats", sizeof("compactFloats") - 1, 1);
1377 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
));
1378 zend_string_release(property_compactFloats_name
);
1380 zval property_escapeNonAscii_default_value
;
1381 ZVAL_UNDEF(&property_escapeNonAscii_default_value
);
1382 zend_string
*property_escapeNonAscii_name
= zend_string_init("escapeNonAscii", sizeof("escapeNonAscii") - 1, 1);
1383 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
));
1384 zend_string_release(property_escapeNonAscii_name
);
1386 zval property_prettyPrint_default_value
;
1387 ZVAL_UNDEF(&property_prettyPrint_default_value
);
1388 zend_string
*property_prettyPrint_name
= zend_string_init("prettyPrint", sizeof("prettyPrint") - 1, 1);
1389 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
));
1390 zend_string_release(property_prettyPrint_name
);
1392 zval property_indentTabs_default_value
;
1393 ZVAL_UNDEF(&property_indentTabs_default_value
);
1394 zend_string
*property_indentTabs_name
= zend_string_init("indentTabs", sizeof("indentTabs") - 1, 1);
1395 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
));
1396 zend_string_release(property_indentTabs_name
);
1398 zval property_indentSize_default_value
;
1399 ZVAL_UNDEF(&property_indentSize_default_value
);
1400 zend_string
*property_indentSize_name
= zend_string_init("indentSize", sizeof("indentSize") - 1, 1);
1401 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
));
1402 zend_string_release(property_indentSize_name
);
1404 zval property_smallContainersInline_default_value
;
1405 ZVAL_UNDEF(&property_smallContainersInline_default_value
);
1406 zend_string
*property_smallContainersInline_name
= zend_string_init("smallContainersInline", sizeof("smallContainersInline") - 1, 1);
1407 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
));
1408 zend_string_release(property_smallContainersInline_name
);
1410 zval property_suppressSystemValues_default_value
;
1411 ZVAL_UNDEF(&property_suppressSystemValues_default_value
);
1412 zend_string
*property_suppressSystemValues_name
= zend_string_init("suppressSystemValues", sizeof("suppressSystemValues") - 1, 1);
1413 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
));
1414 zend_string_release(property_suppressSystemValues_name
);
1416 zval property_flushEveryValue_default_value
;
1417 ZVAL_UNDEF(&property_flushEveryValue_default_value
);
1418 zend_string
*property_flushEveryValue_name
= zend_string_init("flushEveryValue", sizeof("flushEveryValue") - 1, 1);
1419 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
));
1420 zend_string_release(property_flushEveryValue_name
);
1422 zval property_maxContainerDepth_default_value
;
1423 ZVAL_UNDEF(&property_maxContainerDepth_default_value
);
1424 zend_string
*property_maxContainerDepth_name
= zend_string_init("maxContainerDepth", sizeof("maxContainerDepth") - 1, 1);
1425 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
));
1426 zend_string_release(property_maxContainerDepth_name
);
1428 zval property_maxAnnotations_default_value
;
1429 ZVAL_UNDEF(&property_maxAnnotations_default_value
);
1430 zend_string
*property_maxAnnotations_name
= zend_string_init("maxAnnotations", sizeof("maxAnnotations") - 1, 1);
1431 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
));
1432 zend_string_release(property_maxAnnotations_name
);
1434 zval property_tempBufferSize_default_value
;
1435 ZVAL_UNDEF(&property_tempBufferSize_default_value
);
1436 zend_string
*property_tempBufferSize_name
= zend_string_init("tempBufferSize", sizeof("tempBufferSize") - 1, 1);
1437 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
));
1438 zend_string_release(property_tempBufferSize_name
);
1440 zval property_allocationPageSize_default_value
;
1441 ZVAL_UNDEF(&property_allocationPageSize_default_value
);
1442 zend_string
*property_allocationPageSize_name
= zend_string_init("allocationPageSize", sizeof("allocationPageSize") - 1, 1);
1443 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
));
1444 zend_string_release(property_allocationPageSize_name
);
1449 static zend_class_entry
*register_class_ion_Writer(void)
1451 zend_class_entry ce
, *class_entry
;
1453 INIT_NS_CLASS_ENTRY(ce
, "ion", "Writer", class_ion_Writer_methods
);
1454 class_entry
= zend_register_internal_interface(&ce
);
1459 static zend_class_entry
*register_class_ion_Writer_Writer(zend_class_entry
*class_entry_ion_Writer
)
1461 zend_class_entry ce
, *class_entry
;
1463 INIT_NS_CLASS_ENTRY(ce
, "ion\\Writer", "Writer", class_ion_Writer_Writer_methods
);
1464 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1465 class_entry
->ce_flags
|= ZEND_ACC_ABSTRACT
;
1466 zend_class_implements(class_entry
, 1, class_entry_ion_Writer
);
1471 static zend_class_entry
*register_class_ion_Writer_Buffer(zend_class_entry
*class_entry_ion_Writer
)
1473 zend_class_entry ce
, *class_entry
;
1475 INIT_NS_CLASS_ENTRY(ce
, "ion\\Writer", "Buffer", class_ion_Writer_Buffer_methods
);
1476 class_entry
= zend_register_internal_interface(&ce
);
1477 zend_class_implements(class_entry
, 1, class_entry_ion_Writer
);
1482 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
)
1484 zend_class_entry ce
, *class_entry
;
1486 INIT_NS_CLASS_ENTRY(ce
, "ion\\Writer\\Buffer", "Writer", class_ion_Writer_Buffer_Writer_methods
);
1487 class_entry
= zend_register_internal_class_ex(&ce
, class_entry_ion_Writer_Writer
);
1488 zend_class_implements(class_entry
, 1, class_entry_ion_Writer_Buffer
);
1493 static zend_class_entry
*register_class_ion_Writer_Stream(zend_class_entry
*class_entry_ion_Writer
)
1495 zend_class_entry ce
, *class_entry
;
1497 INIT_NS_CLASS_ENTRY(ce
, "ion\\Writer", "Stream", class_ion_Writer_Stream_methods
);
1498 class_entry
= zend_register_internal_interface(&ce
);
1499 zend_class_implements(class_entry
, 1, class_entry_ion_Writer
);
1504 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
)
1506 zend_class_entry ce
, *class_entry
;
1508 INIT_NS_CLASS_ENTRY(ce
, "ion\\Writer\\Stream", "Writer", class_ion_Writer_Stream_Writer_methods
);
1509 class_entry
= zend_register_internal_class_ex(&ce
, class_entry_ion_Writer_Writer
);
1510 zend_class_implements(class_entry
, 1, class_entry_ion_Writer_Stream
);
1515 static zend_class_entry
*register_class_ion_PHP_Serializer(void)
1517 zend_class_entry ce
, *class_entry
;
1519 INIT_NS_CLASS_ENTRY(ce
, "ion\\PHP", "Serializer", class_ion_PHP_Serializer_methods
);
1520 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1522 zend_string
*property_writer_class_ion_Writer
= zend_string_init("ion\\Writer", sizeof("ion\\Writer")-1, 1);
1523 zval property_writer_default_value
;
1524 ZVAL_UNDEF(&property_writer_default_value
);
1525 zend_string
*property_writer_name
= zend_string_init("writer", sizeof("writer") - 1, 1);
1526 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));
1527 zend_string_release(property_writer_name
);
1529 zval property_callMagicSerialize_default_value
;
1530 ZVAL_UNDEF(&property_callMagicSerialize_default_value
);
1531 zend_string
*property_callMagicSerialize_name
= zend_string_init("callMagicSerialize", sizeof("callMagicSerialize") - 1, 1);
1532 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
));
1533 zend_string_release(property_callMagicSerialize_name
);
1535 zval property_callCustomSerialize_default_value
;
1536 ZVAL_UNDEF(&property_callCustomSerialize_default_value
);
1537 zend_string
*property_callCustomSerialize_name
= zend_string_init("callCustomSerialize", sizeof("callCustomSerialize") - 1, 1);
1538 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
));
1539 zend_string_release(property_callCustomSerialize_name
);
1544 static zend_class_entry
*register_class_ion_PHP_Unserializer(void)
1546 zend_class_entry ce
, *class_entry
;
1548 INIT_NS_CLASS_ENTRY(ce
, "ion\\PHP", "Unserializer", class_ion_PHP_Unserializer_methods
);
1549 class_entry
= zend_register_internal_class_ex(&ce
, NULL
);
1551 zend_string
*property_reader_class_ion_Reader
= zend_string_init("ion\\Reader", sizeof("ion\\Reader")-1, 1);
1552 zval property_reader_default_value
;
1553 ZVAL_UNDEF(&property_reader_default_value
);
1554 zend_string
*property_reader_name
= zend_string_init("reader", sizeof("reader") - 1, 1);
1555 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));
1556 zend_string_release(property_reader_name
);
1558 zval property_callMagicUnserialize_default_value
;
1559 ZVAL_UNDEF(&property_callMagicUnserialize_default_value
);
1560 zend_string
*property_callMagicUnserialize_name
= zend_string_init("callMagicUnserialize", sizeof("callMagicUnserialize") - 1, 1);
1561 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
));
1562 zend_string_release(property_callMagicUnserialize_name
);
1564 zval property_callCustomUnserialize_default_value
;
1565 ZVAL_UNDEF(&property_callCustomUnserialize_default_value
);
1566 zend_string
*property_callCustomUnserialize_name
= zend_string_init("callCustomUnserialize", sizeof("callCustomUnserialize") - 1, 1);
1567 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
));
1568 zend_string_release(property_callCustomUnserialize_name
);