1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 0102030bdd0ca8806bbd881ed3f6788d4b18c462 */
3 
4 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLReader_close, 0, 0, 0)
5 ZEND_END_ARG_INFO()
6 
7 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLReader_getAttribute, 0, 1, IS_STRING, 1)
8 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
9 ZEND_END_ARG_INFO()
10 
11 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLReader_getAttributeNo, 0, 1, IS_STRING, 1)
12 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
13 ZEND_END_ARG_INFO()
14 
15 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLReader_getAttributeNs, 0, 2, IS_STRING, 1)
16 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
17 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
18 ZEND_END_ARG_INFO()
19 
20 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLReader_getParserProperty, 0, 1, _IS_BOOL, 0)
21 	ZEND_ARG_TYPE_INFO(0, property, IS_LONG, 0)
22 ZEND_END_ARG_INFO()
23 
24 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLReader_isValid, 0, 0, _IS_BOOL, 0)
25 ZEND_END_ARG_INFO()
26 
27 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLReader_lookupNamespace, 0, 1, IS_STRING, 1)
28 	ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 0)
29 ZEND_END_ARG_INFO()
30 
31 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLReader_moveToAttribute, 0, 1, _IS_BOOL, 0)
32 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
33 ZEND_END_ARG_INFO()
34 
35 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLReader_moveToAttributeNo, 0, 1, _IS_BOOL, 0)
36 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
37 ZEND_END_ARG_INFO()
38 
39 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLReader_moveToAttributeNs, 0, 2, _IS_BOOL, 0)
40 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
41 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
42 ZEND_END_ARG_INFO()
43 
44 #define arginfo_class_XMLReader_moveToElement arginfo_class_XMLReader_isValid
45 
46 #define arginfo_class_XMLReader_moveToFirstAttribute arginfo_class_XMLReader_isValid
47 
48 #define arginfo_class_XMLReader_moveToNextAttribute arginfo_class_XMLReader_isValid
49 
50 #define arginfo_class_XMLReader_read arginfo_class_XMLReader_isValid
51 
52 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLReader_next, 0, 0, _IS_BOOL, 0)
53 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, name, IS_STRING, 1, "null")
54 ZEND_END_ARG_INFO()
55 
56 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLReader_open, 0, 0, 1)
57 	ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 0)
58 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
59 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
60 ZEND_END_ARG_INFO()
61 
62 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLReader_readInnerXml, 0, 0, IS_STRING, 0)
63 ZEND_END_ARG_INFO()
64 
65 #define arginfo_class_XMLReader_readOuterXml arginfo_class_XMLReader_readInnerXml
66 
67 #define arginfo_class_XMLReader_readString arginfo_class_XMLReader_readInnerXml
68 
69 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLReader_setSchema, 0, 1, _IS_BOOL, 0)
70 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 1)
71 ZEND_END_ARG_INFO()
72 
73 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLReader_setParserProperty, 0, 2, _IS_BOOL, 0)
74 	ZEND_ARG_TYPE_INFO(0, property, IS_LONG, 0)
75 	ZEND_ARG_TYPE_INFO(0, value, _IS_BOOL, 0)
76 ZEND_END_ARG_INFO()
77 
78 #define arginfo_class_XMLReader_setRelaxNGSchema arginfo_class_XMLReader_setSchema
79 
80 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLReader_setRelaxNGSchemaSource, 0, 1, _IS_BOOL, 0)
81 	ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 1)
82 ZEND_END_ARG_INFO()
83 
84 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLReader_XML, 0, 0, 1)
85 	ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
86 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
87 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
88 ZEND_END_ARG_INFO()
89 
90 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_XMLReader_expand, 0, 0, DOMNode, MAY_BE_FALSE)
91 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, baseNode, DOMNode, 1, "null")
92 ZEND_END_ARG_INFO()
93 
94 
95 ZEND_METHOD(XMLReader, close);
96 ZEND_METHOD(XMLReader, getAttribute);
97 ZEND_METHOD(XMLReader, getAttributeNo);
98 ZEND_METHOD(XMLReader, getAttributeNs);
99 ZEND_METHOD(XMLReader, getParserProperty);
100 ZEND_METHOD(XMLReader, isValid);
101 ZEND_METHOD(XMLReader, lookupNamespace);
102 ZEND_METHOD(XMLReader, moveToAttribute);
103 ZEND_METHOD(XMLReader, moveToAttributeNo);
104 ZEND_METHOD(XMLReader, moveToAttributeNs);
105 ZEND_METHOD(XMLReader, moveToElement);
106 ZEND_METHOD(XMLReader, moveToFirstAttribute);
107 ZEND_METHOD(XMLReader, moveToNextAttribute);
108 ZEND_METHOD(XMLReader, read);
109 ZEND_METHOD(XMLReader, next);
110 ZEND_METHOD(XMLReader, open);
111 ZEND_METHOD(XMLReader, readInnerXml);
112 ZEND_METHOD(XMLReader, readOuterXml);
113 ZEND_METHOD(XMLReader, readString);
114 ZEND_METHOD(XMLReader, setSchema);
115 ZEND_METHOD(XMLReader, setParserProperty);
116 ZEND_METHOD(XMLReader, setRelaxNGSchema);
117 ZEND_METHOD(XMLReader, setRelaxNGSchemaSource);
118 ZEND_METHOD(XMLReader, XML);
119 ZEND_METHOD(XMLReader, expand);
120 
121 
122 static const zend_function_entry class_XMLReader_methods[] = {
123 	ZEND_ME(XMLReader, close, arginfo_class_XMLReader_close, ZEND_ACC_PUBLIC)
124 	ZEND_ME(XMLReader, getAttribute, arginfo_class_XMLReader_getAttribute, ZEND_ACC_PUBLIC)
125 	ZEND_ME(XMLReader, getAttributeNo, arginfo_class_XMLReader_getAttributeNo, ZEND_ACC_PUBLIC)
126 	ZEND_ME(XMLReader, getAttributeNs, arginfo_class_XMLReader_getAttributeNs, ZEND_ACC_PUBLIC)
127 	ZEND_ME(XMLReader, getParserProperty, arginfo_class_XMLReader_getParserProperty, ZEND_ACC_PUBLIC)
128 	ZEND_ME(XMLReader, isValid, arginfo_class_XMLReader_isValid, ZEND_ACC_PUBLIC)
129 	ZEND_ME(XMLReader, lookupNamespace, arginfo_class_XMLReader_lookupNamespace, ZEND_ACC_PUBLIC)
130 	ZEND_ME(XMLReader, moveToAttribute, arginfo_class_XMLReader_moveToAttribute, ZEND_ACC_PUBLIC)
131 	ZEND_ME(XMLReader, moveToAttributeNo, arginfo_class_XMLReader_moveToAttributeNo, ZEND_ACC_PUBLIC)
132 	ZEND_ME(XMLReader, moveToAttributeNs, arginfo_class_XMLReader_moveToAttributeNs, ZEND_ACC_PUBLIC)
133 	ZEND_ME(XMLReader, moveToElement, arginfo_class_XMLReader_moveToElement, ZEND_ACC_PUBLIC)
134 	ZEND_ME(XMLReader, moveToFirstAttribute, arginfo_class_XMLReader_moveToFirstAttribute, ZEND_ACC_PUBLIC)
135 	ZEND_ME(XMLReader, moveToNextAttribute, arginfo_class_XMLReader_moveToNextAttribute, ZEND_ACC_PUBLIC)
136 	ZEND_ME(XMLReader, read, arginfo_class_XMLReader_read, ZEND_ACC_PUBLIC)
137 	ZEND_ME(XMLReader, next, arginfo_class_XMLReader_next, ZEND_ACC_PUBLIC)
138 	ZEND_ME(XMLReader, open, arginfo_class_XMLReader_open, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
139 	ZEND_ME(XMLReader, readInnerXml, arginfo_class_XMLReader_readInnerXml, ZEND_ACC_PUBLIC)
140 	ZEND_ME(XMLReader, readOuterXml, arginfo_class_XMLReader_readOuterXml, ZEND_ACC_PUBLIC)
141 	ZEND_ME(XMLReader, readString, arginfo_class_XMLReader_readString, ZEND_ACC_PUBLIC)
142 	ZEND_ME(XMLReader, setSchema, arginfo_class_XMLReader_setSchema, ZEND_ACC_PUBLIC)
143 	ZEND_ME(XMLReader, setParserProperty, arginfo_class_XMLReader_setParserProperty, ZEND_ACC_PUBLIC)
144 	ZEND_ME(XMLReader, setRelaxNGSchema, arginfo_class_XMLReader_setRelaxNGSchema, ZEND_ACC_PUBLIC)
145 	ZEND_ME(XMLReader, setRelaxNGSchemaSource, arginfo_class_XMLReader_setRelaxNGSchemaSource, ZEND_ACC_PUBLIC)
146 	ZEND_ME(XMLReader, XML, arginfo_class_XMLReader_XML, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
147 	ZEND_ME(XMLReader, expand, arginfo_class_XMLReader_expand, ZEND_ACC_PUBLIC)
148 	ZEND_FE_END
149 };
150 
register_class_XMLReader(void)151 static zend_class_entry *register_class_XMLReader(void)
152 {
153 	zend_class_entry ce, *class_entry;
154 
155 	INIT_CLASS_ENTRY(ce, "XMLReader", class_XMLReader_methods);
156 	class_entry = zend_register_internal_class_ex(&ce, NULL);
157 
158 	zval const_NONE_value;
159 	ZVAL_LONG(&const_NONE_value, XML_READER_TYPE_NONE);
160 	zend_string *const_NONE_name = zend_string_init_interned("NONE", sizeof("NONE") - 1, 1);
161 	zend_declare_class_constant_ex(class_entry, const_NONE_name, &const_NONE_value, ZEND_ACC_PUBLIC, NULL);
162 	zend_string_release(const_NONE_name);
163 
164 	zval const_ELEMENT_value;
165 	ZVAL_LONG(&const_ELEMENT_value, XML_READER_TYPE_ELEMENT);
166 	zend_string *const_ELEMENT_name = zend_string_init_interned("ELEMENT", sizeof("ELEMENT") - 1, 1);
167 	zend_declare_class_constant_ex(class_entry, const_ELEMENT_name, &const_ELEMENT_value, ZEND_ACC_PUBLIC, NULL);
168 	zend_string_release(const_ELEMENT_name);
169 
170 	zval const_ATTRIBUTE_value;
171 	ZVAL_LONG(&const_ATTRIBUTE_value, XML_READER_TYPE_ATTRIBUTE);
172 	zend_string *const_ATTRIBUTE_name = zend_string_init_interned("ATTRIBUTE", sizeof("ATTRIBUTE") - 1, 1);
173 	zend_declare_class_constant_ex(class_entry, const_ATTRIBUTE_name, &const_ATTRIBUTE_value, ZEND_ACC_PUBLIC, NULL);
174 	zend_string_release(const_ATTRIBUTE_name);
175 
176 	zval const_TEXT_value;
177 	ZVAL_LONG(&const_TEXT_value, XML_READER_TYPE_TEXT);
178 	zend_string *const_TEXT_name = zend_string_init_interned("TEXT", sizeof("TEXT") - 1, 1);
179 	zend_declare_class_constant_ex(class_entry, const_TEXT_name, &const_TEXT_value, ZEND_ACC_PUBLIC, NULL);
180 	zend_string_release(const_TEXT_name);
181 
182 	zval const_CDATA_value;
183 	ZVAL_LONG(&const_CDATA_value, XML_READER_TYPE_CDATA);
184 	zend_string *const_CDATA_name = zend_string_init_interned("CDATA", sizeof("CDATA") - 1, 1);
185 	zend_declare_class_constant_ex(class_entry, const_CDATA_name, &const_CDATA_value, ZEND_ACC_PUBLIC, NULL);
186 	zend_string_release(const_CDATA_name);
187 
188 	zval const_ENTITY_REF_value;
189 	ZVAL_LONG(&const_ENTITY_REF_value, XML_READER_TYPE_ENTITY_REFERENCE);
190 	zend_string *const_ENTITY_REF_name = zend_string_init_interned("ENTITY_REF", sizeof("ENTITY_REF") - 1, 1);
191 	zend_declare_class_constant_ex(class_entry, const_ENTITY_REF_name, &const_ENTITY_REF_value, ZEND_ACC_PUBLIC, NULL);
192 	zend_string_release(const_ENTITY_REF_name);
193 
194 	zval const_ENTITY_value;
195 	ZVAL_LONG(&const_ENTITY_value, XML_READER_TYPE_ENTITY);
196 	zend_string *const_ENTITY_name = zend_string_init_interned("ENTITY", sizeof("ENTITY") - 1, 1);
197 	zend_declare_class_constant_ex(class_entry, const_ENTITY_name, &const_ENTITY_value, ZEND_ACC_PUBLIC, NULL);
198 	zend_string_release(const_ENTITY_name);
199 
200 	zval const_PI_value;
201 	ZVAL_LONG(&const_PI_value, XML_READER_TYPE_PROCESSING_INSTRUCTION);
202 	zend_string *const_PI_name = zend_string_init_interned("PI", sizeof("PI") - 1, 1);
203 	zend_declare_class_constant_ex(class_entry, const_PI_name, &const_PI_value, ZEND_ACC_PUBLIC, NULL);
204 	zend_string_release(const_PI_name);
205 
206 	zval const_COMMENT_value;
207 	ZVAL_LONG(&const_COMMENT_value, XML_READER_TYPE_COMMENT);
208 	zend_string *const_COMMENT_name = zend_string_init_interned("COMMENT", sizeof("COMMENT") - 1, 1);
209 	zend_declare_class_constant_ex(class_entry, const_COMMENT_name, &const_COMMENT_value, ZEND_ACC_PUBLIC, NULL);
210 	zend_string_release(const_COMMENT_name);
211 
212 	zval const_DOC_value;
213 	ZVAL_LONG(&const_DOC_value, XML_READER_TYPE_DOCUMENT);
214 	zend_string *const_DOC_name = zend_string_init_interned("DOC", sizeof("DOC") - 1, 1);
215 	zend_declare_class_constant_ex(class_entry, const_DOC_name, &const_DOC_value, ZEND_ACC_PUBLIC, NULL);
216 	zend_string_release(const_DOC_name);
217 
218 	zval const_DOC_TYPE_value;
219 	ZVAL_LONG(&const_DOC_TYPE_value, XML_READER_TYPE_DOCUMENT_TYPE);
220 	zend_string *const_DOC_TYPE_name = zend_string_init_interned("DOC_TYPE", sizeof("DOC_TYPE") - 1, 1);
221 	zend_declare_class_constant_ex(class_entry, const_DOC_TYPE_name, &const_DOC_TYPE_value, ZEND_ACC_PUBLIC, NULL);
222 	zend_string_release(const_DOC_TYPE_name);
223 
224 	zval const_DOC_FRAGMENT_value;
225 	ZVAL_LONG(&const_DOC_FRAGMENT_value, XML_READER_TYPE_DOCUMENT_FRAGMENT);
226 	zend_string *const_DOC_FRAGMENT_name = zend_string_init_interned("DOC_FRAGMENT", sizeof("DOC_FRAGMENT") - 1, 1);
227 	zend_declare_class_constant_ex(class_entry, const_DOC_FRAGMENT_name, &const_DOC_FRAGMENT_value, ZEND_ACC_PUBLIC, NULL);
228 	zend_string_release(const_DOC_FRAGMENT_name);
229 
230 	zval const_NOTATION_value;
231 	ZVAL_LONG(&const_NOTATION_value, XML_READER_TYPE_NOTATION);
232 	zend_string *const_NOTATION_name = zend_string_init_interned("NOTATION", sizeof("NOTATION") - 1, 1);
233 	zend_declare_class_constant_ex(class_entry, const_NOTATION_name, &const_NOTATION_value, ZEND_ACC_PUBLIC, NULL);
234 	zend_string_release(const_NOTATION_name);
235 
236 	zval const_WHITESPACE_value;
237 	ZVAL_LONG(&const_WHITESPACE_value, XML_READER_TYPE_WHITESPACE);
238 	zend_string *const_WHITESPACE_name = zend_string_init_interned("WHITESPACE", sizeof("WHITESPACE") - 1, 1);
239 	zend_declare_class_constant_ex(class_entry, const_WHITESPACE_name, &const_WHITESPACE_value, ZEND_ACC_PUBLIC, NULL);
240 	zend_string_release(const_WHITESPACE_name);
241 
242 	zval const_SIGNIFICANT_WHITESPACE_value;
243 	ZVAL_LONG(&const_SIGNIFICANT_WHITESPACE_value, XML_READER_TYPE_SIGNIFICANT_WHITESPACE);
244 	zend_string *const_SIGNIFICANT_WHITESPACE_name = zend_string_init_interned("SIGNIFICANT_WHITESPACE", sizeof("SIGNIFICANT_WHITESPACE") - 1, 1);
245 	zend_declare_class_constant_ex(class_entry, const_SIGNIFICANT_WHITESPACE_name, &const_SIGNIFICANT_WHITESPACE_value, ZEND_ACC_PUBLIC, NULL);
246 	zend_string_release(const_SIGNIFICANT_WHITESPACE_name);
247 
248 	zval const_END_ELEMENT_value;
249 	ZVAL_LONG(&const_END_ELEMENT_value, XML_READER_TYPE_END_ELEMENT);
250 	zend_string *const_END_ELEMENT_name = zend_string_init_interned("END_ELEMENT", sizeof("END_ELEMENT") - 1, 1);
251 	zend_declare_class_constant_ex(class_entry, const_END_ELEMENT_name, &const_END_ELEMENT_value, ZEND_ACC_PUBLIC, NULL);
252 	zend_string_release(const_END_ELEMENT_name);
253 
254 	zval const_END_ENTITY_value;
255 	ZVAL_LONG(&const_END_ENTITY_value, XML_READER_TYPE_END_ENTITY);
256 	zend_string *const_END_ENTITY_name = zend_string_init_interned("END_ENTITY", sizeof("END_ENTITY") - 1, 1);
257 	zend_declare_class_constant_ex(class_entry, const_END_ENTITY_name, &const_END_ENTITY_value, ZEND_ACC_PUBLIC, NULL);
258 	zend_string_release(const_END_ENTITY_name);
259 
260 	zval const_XML_DECLARATION_value;
261 	ZVAL_LONG(&const_XML_DECLARATION_value, XML_READER_TYPE_XML_DECLARATION);
262 	zend_string *const_XML_DECLARATION_name = zend_string_init_interned("XML_DECLARATION", sizeof("XML_DECLARATION") - 1, 1);
263 	zend_declare_class_constant_ex(class_entry, const_XML_DECLARATION_name, &const_XML_DECLARATION_value, ZEND_ACC_PUBLIC, NULL);
264 	zend_string_release(const_XML_DECLARATION_name);
265 
266 	zval const_LOADDTD_value;
267 	ZVAL_LONG(&const_LOADDTD_value, XML_PARSER_LOADDTD);
268 	zend_string *const_LOADDTD_name = zend_string_init_interned("LOADDTD", sizeof("LOADDTD") - 1, 1);
269 	zend_declare_class_constant_ex(class_entry, const_LOADDTD_name, &const_LOADDTD_value, ZEND_ACC_PUBLIC, NULL);
270 	zend_string_release(const_LOADDTD_name);
271 
272 	zval const_DEFAULTATTRS_value;
273 	ZVAL_LONG(&const_DEFAULTATTRS_value, XML_PARSER_DEFAULTATTRS);
274 	zend_string *const_DEFAULTATTRS_name = zend_string_init_interned("DEFAULTATTRS", sizeof("DEFAULTATTRS") - 1, 1);
275 	zend_declare_class_constant_ex(class_entry, const_DEFAULTATTRS_name, &const_DEFAULTATTRS_value, ZEND_ACC_PUBLIC, NULL);
276 	zend_string_release(const_DEFAULTATTRS_name);
277 
278 	zval const_VALIDATE_value;
279 	ZVAL_LONG(&const_VALIDATE_value, XML_PARSER_VALIDATE);
280 	zend_string *const_VALIDATE_name = zend_string_init_interned("VALIDATE", sizeof("VALIDATE") - 1, 1);
281 	zend_declare_class_constant_ex(class_entry, const_VALIDATE_name, &const_VALIDATE_value, ZEND_ACC_PUBLIC, NULL);
282 	zend_string_release(const_VALIDATE_name);
283 
284 	zval const_SUBST_ENTITIES_value;
285 	ZVAL_LONG(&const_SUBST_ENTITIES_value, XML_PARSER_SUBST_ENTITIES);
286 	zend_string *const_SUBST_ENTITIES_name = zend_string_init_interned("SUBST_ENTITIES", sizeof("SUBST_ENTITIES") - 1, 1);
287 	zend_declare_class_constant_ex(class_entry, const_SUBST_ENTITIES_name, &const_SUBST_ENTITIES_value, ZEND_ACC_PUBLIC, NULL);
288 	zend_string_release(const_SUBST_ENTITIES_name);
289 
290 	zval property_attributeCount_default_value;
291 	ZVAL_UNDEF(&property_attributeCount_default_value);
292 	zend_string *property_attributeCount_name = zend_string_init("attributeCount", sizeof("attributeCount") - 1, 1);
293 	zend_declare_typed_property(class_entry, property_attributeCount_name, &property_attributeCount_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
294 	zend_string_release(property_attributeCount_name);
295 
296 	zval property_baseURI_default_value;
297 	ZVAL_UNDEF(&property_baseURI_default_value);
298 	zend_string *property_baseURI_name = zend_string_init("baseURI", sizeof("baseURI") - 1, 1);
299 	zend_declare_typed_property(class_entry, property_baseURI_name, &property_baseURI_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
300 	zend_string_release(property_baseURI_name);
301 
302 	zval property_depth_default_value;
303 	ZVAL_UNDEF(&property_depth_default_value);
304 	zend_string *property_depth_name = zend_string_init("depth", sizeof("depth") - 1, 1);
305 	zend_declare_typed_property(class_entry, property_depth_name, &property_depth_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
306 	zend_string_release(property_depth_name);
307 
308 	zval property_hasAttributes_default_value;
309 	ZVAL_UNDEF(&property_hasAttributes_default_value);
310 	zend_string *property_hasAttributes_name = zend_string_init("hasAttributes", sizeof("hasAttributes") - 1, 1);
311 	zend_declare_typed_property(class_entry, property_hasAttributes_name, &property_hasAttributes_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
312 	zend_string_release(property_hasAttributes_name);
313 
314 	zval property_hasValue_default_value;
315 	ZVAL_UNDEF(&property_hasValue_default_value);
316 	zend_string *property_hasValue_name = zend_string_init("hasValue", sizeof("hasValue") - 1, 1);
317 	zend_declare_typed_property(class_entry, property_hasValue_name, &property_hasValue_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
318 	zend_string_release(property_hasValue_name);
319 
320 	zval property_isDefault_default_value;
321 	ZVAL_UNDEF(&property_isDefault_default_value);
322 	zend_string *property_isDefault_name = zend_string_init("isDefault", sizeof("isDefault") - 1, 1);
323 	zend_declare_typed_property(class_entry, property_isDefault_name, &property_isDefault_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
324 	zend_string_release(property_isDefault_name);
325 
326 	zval property_isEmptyElement_default_value;
327 	ZVAL_UNDEF(&property_isEmptyElement_default_value);
328 	zend_string *property_isEmptyElement_name = zend_string_init("isEmptyElement", sizeof("isEmptyElement") - 1, 1);
329 	zend_declare_typed_property(class_entry, property_isEmptyElement_name, &property_isEmptyElement_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
330 	zend_string_release(property_isEmptyElement_name);
331 
332 	zval property_localName_default_value;
333 	ZVAL_UNDEF(&property_localName_default_value);
334 	zend_string *property_localName_name = zend_string_init("localName", sizeof("localName") - 1, 1);
335 	zend_declare_typed_property(class_entry, property_localName_name, &property_localName_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
336 	zend_string_release(property_localName_name);
337 
338 	zval property_name_default_value;
339 	ZVAL_UNDEF(&property_name_default_value);
340 	zend_string *property_name_name = zend_string_init("name", sizeof("name") - 1, 1);
341 	zend_declare_typed_property(class_entry, property_name_name, &property_name_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
342 	zend_string_release(property_name_name);
343 
344 	zval property_namespaceURI_default_value;
345 	ZVAL_UNDEF(&property_namespaceURI_default_value);
346 	zend_string *property_namespaceURI_name = zend_string_init("namespaceURI", sizeof("namespaceURI") - 1, 1);
347 	zend_declare_typed_property(class_entry, property_namespaceURI_name, &property_namespaceURI_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
348 	zend_string_release(property_namespaceURI_name);
349 
350 	zval property_nodeType_default_value;
351 	ZVAL_UNDEF(&property_nodeType_default_value);
352 	zend_string *property_nodeType_name = zend_string_init("nodeType", sizeof("nodeType") - 1, 1);
353 	zend_declare_typed_property(class_entry, property_nodeType_name, &property_nodeType_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
354 	zend_string_release(property_nodeType_name);
355 
356 	zval property_prefix_default_value;
357 	ZVAL_UNDEF(&property_prefix_default_value);
358 	zend_string *property_prefix_name = zend_string_init("prefix", sizeof("prefix") - 1, 1);
359 	zend_declare_typed_property(class_entry, property_prefix_name, &property_prefix_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
360 	zend_string_release(property_prefix_name);
361 
362 	zval property_value_default_value;
363 	ZVAL_UNDEF(&property_value_default_value);
364 	zend_string *property_value_name = zend_string_init("value", sizeof("value") - 1, 1);
365 	zend_declare_typed_property(class_entry, property_value_name, &property_value_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
366 	zend_string_release(property_value_name);
367 
368 	zval property_xmlLang_default_value;
369 	ZVAL_UNDEF(&property_xmlLang_default_value);
370 	zend_string *property_xmlLang_name = zend_string_init("xmlLang", sizeof("xmlLang") - 1, 1);
371 	zend_declare_typed_property(class_entry, property_xmlLang_name, &property_xmlLang_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
372 	zend_string_release(property_xmlLang_name);
373 
374 	return class_entry;
375 }
376