xref: /php-src/ext/dom/php_dom_arginfo.h (revision a3b27c08)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 860bf40a97ec6570e9f5b0616407ba55d7c8d6f8 */
3 
4 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_dom_import_simplexml, 0, 1, DOMAttr|DOMElement, 0)
5 	ZEND_ARG_TYPE_INFO(0, node, IS_OBJECT, 0)
6 ZEND_END_ARG_INFO()
7 
8 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_Dom_import_simplexml, 0, 1, Dom\\Attr|Dom\\Element, 0)
9 	ZEND_ARG_TYPE_INFO(0, node, IS_OBJECT, 0)
10 ZEND_END_ARG_INFO()
11 
12 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMCdataSection___construct, 0, 0, 1)
13 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
14 ZEND_END_ARG_INFO()
15 
16 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMComment___construct, 0, 0, 0)
17 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, data, IS_STRING, 0, "\"\"")
18 ZEND_END_ARG_INFO()
19 
20 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DOMParentNode_append, 0, 0, IS_VOID, 0)
21 	ZEND_ARG_VARIADIC_INFO(0, nodes)
22 ZEND_END_ARG_INFO()
23 
24 #define arginfo_class_DOMParentNode_prepend arginfo_class_DOMParentNode_append
25 
26 #define arginfo_class_DOMParentNode_replaceChildren arginfo_class_DOMParentNode_append
27 
28 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DOMChildNode_remove, 0, 0, IS_VOID, 0)
29 ZEND_END_ARG_INFO()
30 
31 #define arginfo_class_DOMChildNode_before arginfo_class_DOMParentNode_append
32 
33 #define arginfo_class_DOMChildNode_after arginfo_class_DOMParentNode_append
34 
35 #define arginfo_class_DOMChildNode_replaceWith arginfo_class_DOMParentNode_append
36 
37 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNode_appendChild, 0, 0, 1)
38 	ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
39 ZEND_END_ARG_INFO()
40 
41 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMNode_C14N, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
42 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, exclusive, _IS_BOOL, 0, "false")
43 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, withComments, _IS_BOOL, 0, "false")
44 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, xpath, IS_ARRAY, 1, "null")
45 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, nsPrefixes, IS_ARRAY, 1, "null")
46 ZEND_END_ARG_INFO()
47 
48 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMNode_C14NFile, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
49 	ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 0)
50 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, exclusive, _IS_BOOL, 0, "false")
51 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, withComments, _IS_BOOL, 0, "false")
52 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, xpath, IS_ARRAY, 1, "null")
53 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, nsPrefixes, IS_ARRAY, 1, "null")
54 ZEND_END_ARG_INFO()
55 
56 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNode_cloneNode, 0, 0, 0)
57 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, deep, _IS_BOOL, 0, "false")
58 ZEND_END_ARG_INFO()
59 
60 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_getLineNo, 0, 0, IS_LONG, 0)
61 ZEND_END_ARG_INFO()
62 
63 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_getNodePath, 0, 0, IS_STRING, 1)
64 ZEND_END_ARG_INFO()
65 
66 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_hasAttributes, 0, 0, _IS_BOOL, 0)
67 ZEND_END_ARG_INFO()
68 
69 #define arginfo_class_DOMNode_hasChildNodes arginfo_class_DOMNode_hasAttributes
70 
71 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNode_insertBefore, 0, 0, 1)
72 	ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
73 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, child, DOMNode, 1, "null")
74 ZEND_END_ARG_INFO()
75 
76 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_isDefaultNamespace, 0, 1, _IS_BOOL, 0)
77 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
78 ZEND_END_ARG_INFO()
79 
80 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_isSameNode, 0, 1, _IS_BOOL, 0)
81 	ZEND_ARG_OBJ_INFO(0, otherNode, DOMNode, 0)
82 ZEND_END_ARG_INFO()
83 
84 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_isEqualNode, 0, 1, _IS_BOOL, 0)
85 	ZEND_ARG_OBJ_INFO(0, otherNode, DOMNode, 1)
86 ZEND_END_ARG_INFO()
87 
88 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_isSupported, 0, 2, _IS_BOOL, 0)
89 	ZEND_ARG_TYPE_INFO(0, feature, IS_STRING, 0)
90 	ZEND_ARG_TYPE_INFO(0, version, IS_STRING, 0)
91 ZEND_END_ARG_INFO()
92 
93 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_lookupNamespaceURI, 0, 1, IS_STRING, 1)
94 	ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
95 ZEND_END_ARG_INFO()
96 
97 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_lookupPrefix, 0, 1, IS_STRING, 1)
98 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
99 ZEND_END_ARG_INFO()
100 
101 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_normalize, 0, 0, IS_VOID, 0)
102 ZEND_END_ARG_INFO()
103 
104 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNode_removeChild, 0, 0, 1)
105 	ZEND_ARG_OBJ_INFO(0, child, DOMNode, 0)
106 ZEND_END_ARG_INFO()
107 
108 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNode_replaceChild, 0, 0, 2)
109 	ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
110 	ZEND_ARG_OBJ_INFO(0, child, DOMNode, 0)
111 ZEND_END_ARG_INFO()
112 
113 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_contains, 0, 1, _IS_BOOL, 0)
114 	ZEND_ARG_OBJ_TYPE_MASK(0, other, DOMNode|DOMNameSpaceNode, MAY_BE_NULL, NULL)
115 ZEND_END_ARG_INFO()
116 
117 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_DOMNode_getRootNode, 0, 0, DOMNode, 0)
118 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "null")
119 ZEND_END_ARG_INFO()
120 
121 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_compareDocumentPosition, 0, 1, IS_LONG, 0)
122 	ZEND_ARG_OBJ_INFO(0, other, DOMNode, 0)
123 ZEND_END_ARG_INFO()
124 
125 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode___sleep, 0, 0, IS_ARRAY, 0)
126 ZEND_END_ARG_INFO()
127 
128 #define arginfo_class_DOMNode___wakeup arginfo_class_DOMChildNode_remove
129 
130 #define arginfo_class_DOMNameSpaceNode___sleep arginfo_class_DOMNode___sleep
131 
132 #define arginfo_class_DOMNameSpaceNode___wakeup arginfo_class_DOMChildNode_remove
133 
134 #define arginfo_class_DOMImplementation_hasFeature arginfo_class_DOMNode_isSupported
135 
136 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMImplementation_createDocumentType, 0, 0, 1)
137 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
138 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, publicId, IS_STRING, 0, "\"\"")
139 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, systemId, IS_STRING, 0, "\"\"")
140 ZEND_END_ARG_INFO()
141 
142 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMImplementation_createDocument, 0, 0, DOMDocument, 0)
143 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, namespace, IS_STRING, 1, "null")
144 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, qualifiedName, IS_STRING, 0, "\"\"")
145 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, doctype, DOMDocumentType, 1, "null")
146 ZEND_END_ARG_INFO()
147 
148 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocumentFragment___construct, 0, 0, 0)
149 ZEND_END_ARG_INFO()
150 
151 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocumentFragment_appendXML, 0, 1, _IS_BOOL, 0)
152 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
153 ZEND_END_ARG_INFO()
154 
155 #define arginfo_class_DOMDocumentFragment_append arginfo_class_DOMParentNode_append
156 
157 #define arginfo_class_DOMDocumentFragment_prepend arginfo_class_DOMParentNode_append
158 
159 #define arginfo_class_DOMDocumentFragment_replaceChildren arginfo_class_DOMParentNode_append
160 
161 #define arginfo_class_DOMNodeList_count arginfo_class_DOMNode_getLineNo
162 
163 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_DOMNodeList_getIterator, 0, 0, Iterator, 0)
164 ZEND_END_ARG_INFO()
165 
166 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNodeList_item, 0, 0, 1)
167 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
168 ZEND_END_ARG_INFO()
169 
170 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMCharacterData_appendData, 0, 1, IS_TRUE, 0)
171 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
172 ZEND_END_ARG_INFO()
173 
174 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMCharacterData_substringData, 0, 0, 2)
175 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
176 	ZEND_ARG_TYPE_INFO(0, count, IS_LONG, 0)
177 ZEND_END_ARG_INFO()
178 
179 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMCharacterData_insertData, 0, 2, _IS_BOOL, 0)
180 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
181 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
182 ZEND_END_ARG_INFO()
183 
184 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMCharacterData_deleteData, 0, 2, _IS_BOOL, 0)
185 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
186 	ZEND_ARG_TYPE_INFO(0, count, IS_LONG, 0)
187 ZEND_END_ARG_INFO()
188 
189 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMCharacterData_replaceData, 0, 3, _IS_BOOL, 0)
190 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
191 	ZEND_ARG_TYPE_INFO(0, count, IS_LONG, 0)
192 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
193 ZEND_END_ARG_INFO()
194 
195 #define arginfo_class_DOMCharacterData_replaceWith arginfo_class_DOMParentNode_append
196 
197 #define arginfo_class_DOMCharacterData_remove arginfo_class_DOMChildNode_remove
198 
199 #define arginfo_class_DOMCharacterData_before arginfo_class_DOMParentNode_append
200 
201 #define arginfo_class_DOMCharacterData_after arginfo_class_DOMParentNode_append
202 
203 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMAttr___construct, 0, 0, 1)
204 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
205 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 0, "\"\"")
206 ZEND_END_ARG_INFO()
207 
208 #define arginfo_class_DOMAttr_isId arginfo_class_DOMNode_hasAttributes
209 
210 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMElement___construct, 0, 0, 1)
211 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
212 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 1, "null")
213 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, namespace, IS_STRING, 0, "\"\"")
214 ZEND_END_ARG_INFO()
215 
216 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_getAttribute, 0, 1, IS_STRING, 0)
217 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
218 ZEND_END_ARG_INFO()
219 
220 #define arginfo_class_DOMElement_getAttributeNames arginfo_class_DOMNode___sleep
221 
222 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_getAttributeNS, 0, 2, IS_STRING, 0)
223 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
224 	ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
225 ZEND_END_ARG_INFO()
226 
227 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMElement_getAttributeNode, 0, 0, 1)
228 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
229 ZEND_END_ARG_INFO()
230 
231 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMElement_getAttributeNodeNS, 0, 0, 2)
232 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
233 	ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
234 ZEND_END_ARG_INFO()
235 
236 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMElement_getElementsByTagName, 0, 1, DOMNodeList, 0)
237 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
238 ZEND_END_ARG_INFO()
239 
240 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMElement_getElementsByTagNameNS, 0, 2, DOMNodeList, 0)
241 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
242 	ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
243 ZEND_END_ARG_INFO()
244 
245 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_hasAttribute, 0, 1, _IS_BOOL, 0)
246 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
247 ZEND_END_ARG_INFO()
248 
249 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_hasAttributeNS, 0, 2, _IS_BOOL, 0)
250 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
251 	ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
252 ZEND_END_ARG_INFO()
253 
254 #define arginfo_class_DOMElement_removeAttribute arginfo_class_DOMElement_hasAttribute
255 
256 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_removeAttributeNS, 0, 2, IS_VOID, 0)
257 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
258 	ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
259 ZEND_END_ARG_INFO()
260 
261 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMElement_removeAttributeNode, 0, 0, 1)
262 	ZEND_ARG_OBJ_INFO(0, attr, DOMAttr, 0)
263 ZEND_END_ARG_INFO()
264 
265 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMElement_setAttribute, 0, 0, 2)
266 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
267 	ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
268 ZEND_END_ARG_INFO()
269 
270 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_setAttributeNS, 0, 3, IS_VOID, 0)
271 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
272 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
273 	ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
274 ZEND_END_ARG_INFO()
275 
276 #define arginfo_class_DOMElement_setAttributeNode arginfo_class_DOMElement_removeAttributeNode
277 
278 #define arginfo_class_DOMElement_setAttributeNodeNS arginfo_class_DOMElement_removeAttributeNode
279 
280 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_setIdAttribute, 0, 2, IS_VOID, 0)
281 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
282 	ZEND_ARG_TYPE_INFO(0, isId, _IS_BOOL, 0)
283 ZEND_END_ARG_INFO()
284 
285 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_setIdAttributeNS, 0, 3, IS_VOID, 0)
286 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
287 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
288 	ZEND_ARG_TYPE_INFO(0, isId, _IS_BOOL, 0)
289 ZEND_END_ARG_INFO()
290 
291 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_setIdAttributeNode, 0, 2, IS_VOID, 0)
292 	ZEND_ARG_OBJ_INFO(0, attr, DOMAttr, 0)
293 	ZEND_ARG_TYPE_INFO(0, isId, _IS_BOOL, 0)
294 ZEND_END_ARG_INFO()
295 
296 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_toggleAttribute, 0, 1, _IS_BOOL, 0)
297 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
298 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, force, _IS_BOOL, 1, "null")
299 ZEND_END_ARG_INFO()
300 
301 #define arginfo_class_DOMElement_remove arginfo_class_DOMChildNode_remove
302 
303 #define arginfo_class_DOMElement_before arginfo_class_DOMParentNode_append
304 
305 #define arginfo_class_DOMElement_after arginfo_class_DOMParentNode_append
306 
307 #define arginfo_class_DOMElement_replaceWith arginfo_class_DOMParentNode_append
308 
309 #define arginfo_class_DOMElement_append arginfo_class_DOMParentNode_append
310 
311 #define arginfo_class_DOMElement_prepend arginfo_class_DOMParentNode_append
312 
313 #define arginfo_class_DOMElement_replaceChildren arginfo_class_DOMParentNode_append
314 
315 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_DOMElement_insertAdjacentElement, 0, 2, DOMElement, 1)
316 	ZEND_ARG_TYPE_INFO(0, where, IS_STRING, 0)
317 	ZEND_ARG_OBJ_INFO(0, element, DOMElement, 0)
318 ZEND_END_ARG_INFO()
319 
320 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_insertAdjacentText, 0, 2, IS_VOID, 0)
321 	ZEND_ARG_TYPE_INFO(0, where, IS_STRING, 0)
322 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
323 ZEND_END_ARG_INFO()
324 
325 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument___construct, 0, 0, 0)
326 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, version, IS_STRING, 0, "\"1.0\"")
327 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 0, "\"\"")
328 ZEND_END_ARG_INFO()
329 
330 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createAttribute, 0, 0, 1)
331 	ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
332 ZEND_END_ARG_INFO()
333 
334 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createAttributeNS, 0, 0, 2)
335 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
336 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
337 ZEND_END_ARG_INFO()
338 
339 #define arginfo_class_DOMDocument_createCDATASection arginfo_class_DOMCdataSection___construct
340 
341 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMDocument_createComment, 0, 1, DOMComment, 0)
342 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
343 ZEND_END_ARG_INFO()
344 
345 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMDocument_createDocumentFragment, 0, 0, DOMDocumentFragment, 0)
346 ZEND_END_ARG_INFO()
347 
348 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createElement, 0, 0, 1)
349 	ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
350 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 0, "\"\"")
351 ZEND_END_ARG_INFO()
352 
353 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createElementNS, 0, 0, 2)
354 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
355 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
356 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 0, "\"\"")
357 ZEND_END_ARG_INFO()
358 
359 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createEntityReference, 0, 0, 1)
360 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
361 ZEND_END_ARG_INFO()
362 
363 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createProcessingInstruction, 0, 0, 1)
364 	ZEND_ARG_TYPE_INFO(0, target, IS_STRING, 0)
365 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, data, IS_STRING, 0, "\"\"")
366 ZEND_END_ARG_INFO()
367 
368 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMDocument_createTextNode, 0, 1, DOMText, 0)
369 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
370 ZEND_END_ARG_INFO()
371 
372 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMDocument_getElementById, 0, 1, DOMElement, 1)
373 	ZEND_ARG_TYPE_INFO(0, elementId, IS_STRING, 0)
374 ZEND_END_ARG_INFO()
375 
376 #define arginfo_class_DOMDocument_getElementsByTagName arginfo_class_DOMElement_getElementsByTagName
377 
378 #define arginfo_class_DOMDocument_getElementsByTagNameNS arginfo_class_DOMElement_getElementsByTagNameNS
379 
380 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_importNode, 0, 0, 1)
381 	ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
382 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, deep, _IS_BOOL, 0, "false")
383 ZEND_END_ARG_INFO()
384 
385 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_load, 0, 1, _IS_BOOL, 0)
386 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
387 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
388 ZEND_END_ARG_INFO()
389 
390 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_loadXML, 0, 1, _IS_BOOL, 0)
391 	ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
392 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
393 ZEND_END_ARG_INFO()
394 
395 #define arginfo_class_DOMDocument_normalizeDocument arginfo_class_DOMNode_normalize
396 
397 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_registerNodeClass, 0, 2, IS_TRUE, 0)
398 	ZEND_ARG_TYPE_INFO(0, baseClass, IS_STRING, 0)
399 	ZEND_ARG_TYPE_INFO(0, extendedClass, IS_STRING, 1)
400 ZEND_END_ARG_INFO()
401 
402 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMDocument_save, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
403 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
404 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
405 ZEND_END_ARG_INFO()
406 
407 #if defined(LIBXML_HTML_ENABLED)
408 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_loadHTML, 0, 1, _IS_BOOL, 0)
409 	ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
410 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
411 ZEND_END_ARG_INFO()
412 
413 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_loadHTMLFile, 0, 1, _IS_BOOL, 0)
414 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
415 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
416 ZEND_END_ARG_INFO()
417 
418 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMDocument_saveHTML, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
419 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, node, DOMNode, 1, "null")
420 ZEND_END_ARG_INFO()
421 
422 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMDocument_saveHTMLFile, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
423 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
424 ZEND_END_ARG_INFO()
425 #endif
426 
427 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMDocument_saveXML, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
428 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, node, DOMNode, 1, "null")
429 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
430 ZEND_END_ARG_INFO()
431 
432 #if defined(LIBXML_SCHEMAS_ENABLED)
433 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_schemaValidate, 0, 1, _IS_BOOL, 0)
434 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
435 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
436 ZEND_END_ARG_INFO()
437 
438 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_schemaValidateSource, 0, 1, _IS_BOOL, 0)
439 	ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
440 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
441 ZEND_END_ARG_INFO()
442 
443 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_relaxNGValidate, 0, 1, _IS_BOOL, 0)
444 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
445 ZEND_END_ARG_INFO()
446 
447 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_relaxNGValidateSource, 0, 1, _IS_BOOL, 0)
448 	ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
449 ZEND_END_ARG_INFO()
450 #endif
451 
452 #define arginfo_class_DOMDocument_validate arginfo_class_DOMNode_hasAttributes
453 
454 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMDocument_xinclude, 0, 0, MAY_BE_LONG|MAY_BE_FALSE)
455 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
456 ZEND_END_ARG_INFO()
457 
458 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_DOMDocument_adoptNode, 0, 1, DOMNode, MAY_BE_FALSE)
459 	ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
460 ZEND_END_ARG_INFO()
461 
462 #define arginfo_class_DOMDocument_append arginfo_class_DOMParentNode_append
463 
464 #define arginfo_class_DOMDocument_prepend arginfo_class_DOMParentNode_append
465 
466 #define arginfo_class_DOMDocument_replaceChildren arginfo_class_DOMParentNode_append
467 
468 #define arginfo_class_DOMText___construct arginfo_class_DOMComment___construct
469 
470 #define arginfo_class_DOMText_isWhitespaceInElementContent arginfo_class_DOMNode_hasAttributes
471 
472 #define arginfo_class_DOMText_isElementContentWhitespace arginfo_class_DOMNode_hasAttributes
473 
474 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMText_splitText, 0, 0, 1)
475 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
476 ZEND_END_ARG_INFO()
477 
478 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMNamedNodeMap_getNamedItem, 0, 1, DOMNode, 1)
479 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
480 ZEND_END_ARG_INFO()
481 
482 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMNamedNodeMap_getNamedItemNS, 0, 2, DOMNode, 1)
483 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
484 	ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
485 ZEND_END_ARG_INFO()
486 
487 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMNamedNodeMap_item, 0, 1, DOMNode, 1)
488 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
489 ZEND_END_ARG_INFO()
490 
491 #define arginfo_class_DOMNamedNodeMap_count arginfo_class_DOMNode_getLineNo
492 
493 #define arginfo_class_DOMNamedNodeMap_getIterator arginfo_class_DOMNodeList_getIterator
494 
495 #define arginfo_class_DOMEntityReference___construct arginfo_class_DOMDocument_createEntityReference
496 
497 #define arginfo_class_DOMProcessingInstruction___construct arginfo_class_DOMAttr___construct
498 
499 #if defined(LIBXML_XPATH_ENABLED)
500 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMXPath___construct, 0, 0, 1)
501 	ZEND_ARG_OBJ_INFO(0, document, DOMDocument, 0)
502 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, registerNodeNS, _IS_BOOL, 0, "true")
503 ZEND_END_ARG_INFO()
504 
505 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMXPath_evaluate, 0, 1, IS_MIXED, 0)
506 	ZEND_ARG_TYPE_INFO(0, expression, IS_STRING, 0)
507 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, contextNode, DOMNode, 1, "null")
508 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, registerNodeNS, _IS_BOOL, 0, "true")
509 ZEND_END_ARG_INFO()
510 
511 #define arginfo_class_DOMXPath_query arginfo_class_DOMXPath_evaluate
512 
513 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMXPath_registerNamespace, 0, 2, _IS_BOOL, 0)
514 	ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 0)
515 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
516 ZEND_END_ARG_INFO()
517 
518 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMXPath_registerPhpFunctions, 0, 0, IS_VOID, 0)
519 	ZEND_ARG_TYPE_MASK(0, restrict, MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_NULL, "null")
520 ZEND_END_ARG_INFO()
521 
522 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DOMXPath_registerPhpFunctionNS, 0, 3, IS_VOID, 0)
523 	ZEND_ARG_TYPE_INFO(0, namespaceURI, IS_STRING, 0)
524 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
525 	ZEND_ARG_TYPE_INFO(0, callable, IS_CALLABLE, 0)
526 ZEND_END_ARG_INFO()
527 
528 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DOMXPath_quote, 0, 1, IS_STRING, 0)
529 	ZEND_ARG_TYPE_INFO(0, str, IS_STRING, 0)
530 ZEND_END_ARG_INFO()
531 #endif
532 
533 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_ParentNode_append, 0, 0, IS_VOID, 0)
534 	ZEND_ARG_VARIADIC_OBJ_TYPE_MASK(0, nodes, Dom\\\116ode, MAY_BE_STRING)
535 ZEND_END_ARG_INFO()
536 
537 #define arginfo_class_Dom_ParentNode_prepend arginfo_class_Dom_ParentNode_append
538 
539 #define arginfo_class_Dom_ParentNode_replaceChildren arginfo_class_Dom_ParentNode_append
540 
541 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_ParentNode_querySelector, 0, 1, Dom\\Element, 1)
542 	ZEND_ARG_TYPE_INFO(0, selectors, IS_STRING, 0)
543 ZEND_END_ARG_INFO()
544 
545 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_ParentNode_querySelectorAll, 0, 1, Dom\\\116odeList, 0)
546 	ZEND_ARG_TYPE_INFO(0, selectors, IS_STRING, 0)
547 ZEND_END_ARG_INFO()
548 
549 #define arginfo_class_Dom_ChildNode_remove arginfo_class_DOMChildNode_remove
550 
551 #define arginfo_class_Dom_ChildNode_before arginfo_class_Dom_ParentNode_append
552 
553 #define arginfo_class_Dom_ChildNode_after arginfo_class_Dom_ParentNode_append
554 
555 #define arginfo_class_Dom_ChildNode_replaceWith arginfo_class_Dom_ParentNode_append
556 
557 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Implementation_createDocumentType, 0, 3, Dom\\DocumentType, 0)
558 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
559 	ZEND_ARG_TYPE_INFO(0, publicId, IS_STRING, 0)
560 	ZEND_ARG_TYPE_INFO(0, systemId, IS_STRING, 0)
561 ZEND_END_ARG_INFO()
562 
563 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Implementation_createDocument, 0, 2, Dom\\XMLDocument, 0)
564 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
565 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
566 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, doctype, Dom\\DocumentType, 1, "null")
567 ZEND_END_ARG_INFO()
568 
569 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Implementation_createHTMLDocument, 0, 0, Dom\\HTMLDocument, 0)
570 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, title, IS_STRING, 1, "null")
571 ZEND_END_ARG_INFO()
572 
573 #define arginfo_class_Dom_Node___construct arginfo_class_DOMDocumentFragment___construct
574 
575 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Node_getRootNode, 0, 0, Dom\\\116ode, 0)
576 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
577 ZEND_END_ARG_INFO()
578 
579 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Node_hasChildNodes, 0, 0, _IS_BOOL, 0)
580 ZEND_END_ARG_INFO()
581 
582 #define arginfo_class_Dom_Node_normalize arginfo_class_DOMChildNode_remove
583 
584 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Node_cloneNode, 0, 0, Dom\\\116ode, 0)
585 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, deep, _IS_BOOL, 0, "false")
586 ZEND_END_ARG_INFO()
587 
588 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Node_isEqualNode, 0, 1, _IS_BOOL, 0)
589 	ZEND_ARG_OBJ_INFO(0, otherNode, Dom\\\116ode, 1)
590 ZEND_END_ARG_INFO()
591 
592 #define arginfo_class_Dom_Node_isSameNode arginfo_class_Dom_Node_isEqualNode
593 
594 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Node_compareDocumentPosition, 0, 1, IS_LONG, 0)
595 	ZEND_ARG_OBJ_INFO(0, other, Dom\\\116ode, 0)
596 ZEND_END_ARG_INFO()
597 
598 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Node_contains, 0, 1, _IS_BOOL, 0)
599 	ZEND_ARG_OBJ_INFO(0, other, Dom\\\116ode, 1)
600 ZEND_END_ARG_INFO()
601 
602 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Node_lookupPrefix, 0, 1, IS_STRING, 1)
603 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
604 ZEND_END_ARG_INFO()
605 
606 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Node_lookupNamespaceURI, 0, 1, IS_STRING, 1)
607 	ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
608 ZEND_END_ARG_INFO()
609 
610 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Node_isDefaultNamespace, 0, 1, _IS_BOOL, 0)
611 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
612 ZEND_END_ARG_INFO()
613 
614 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Node_insertBefore, 0, 2, Dom\\\116ode, 0)
615 	ZEND_ARG_OBJ_INFO(0, node, Dom\\\116ode, 0)
616 	ZEND_ARG_OBJ_INFO(0, child, Dom\\\116ode, 1)
617 ZEND_END_ARG_INFO()
618 
619 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Node_appendChild, 0, 1, Dom\\\116ode, 0)
620 	ZEND_ARG_OBJ_INFO(0, node, Dom\\\116ode, 0)
621 ZEND_END_ARG_INFO()
622 
623 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Node_replaceChild, 0, 2, Dom\\\116ode, 0)
624 	ZEND_ARG_OBJ_INFO(0, node, Dom\\\116ode, 0)
625 	ZEND_ARG_OBJ_INFO(0, child, Dom\\\116ode, 0)
626 ZEND_END_ARG_INFO()
627 
628 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Node_removeChild, 0, 1, Dom\\\116ode, 0)
629 	ZEND_ARG_OBJ_INFO(0, child, Dom\\\116ode, 0)
630 ZEND_END_ARG_INFO()
631 
632 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Node_getLineNo, 0, 0, IS_LONG, 0)
633 ZEND_END_ARG_INFO()
634 
635 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Node_getNodePath, 0, 0, IS_STRING, 0)
636 ZEND_END_ARG_INFO()
637 
638 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_Dom_Node_C14N, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
639 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, exclusive, _IS_BOOL, 0, "false")
640 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, withComments, _IS_BOOL, 0, "false")
641 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, xpath, IS_ARRAY, 1, "null")
642 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, nsPrefixes, IS_ARRAY, 1, "null")
643 ZEND_END_ARG_INFO()
644 
645 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_Dom_Node_C14NFile, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
646 	ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 0)
647 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, exclusive, _IS_BOOL, 0, "false")
648 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, withComments, _IS_BOOL, 0, "false")
649 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, xpath, IS_ARRAY, 1, "null")
650 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, nsPrefixes, IS_ARRAY, 1, "null")
651 ZEND_END_ARG_INFO()
652 
653 #define arginfo_class_Dom_Node___sleep arginfo_class_DOMNode___sleep
654 
655 #define arginfo_class_Dom_Node___wakeup arginfo_class_DOMChildNode_remove
656 
657 #define arginfo_class_Dom_NodeList_count arginfo_class_Dom_Node_getLineNo
658 
659 #define arginfo_class_Dom_NodeList_getIterator arginfo_class_DOMNodeList_getIterator
660 
661 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_NodeList_item, 0, 1, Dom\\\116ode, 1)
662 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
663 ZEND_END_ARG_INFO()
664 
665 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_NamedNodeMap_item, 0, 1, Dom\\Attr, 1)
666 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
667 ZEND_END_ARG_INFO()
668 
669 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_NamedNodeMap_getNamedItem, 0, 1, Dom\\Attr, 1)
670 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
671 ZEND_END_ARG_INFO()
672 
673 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_NamedNodeMap_getNamedItemNS, 0, 2, Dom\\Attr, 1)
674 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
675 	ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
676 ZEND_END_ARG_INFO()
677 
678 #define arginfo_class_Dom_NamedNodeMap_count arginfo_class_Dom_Node_getLineNo
679 
680 #define arginfo_class_Dom_NamedNodeMap_getIterator arginfo_class_DOMNodeList_getIterator
681 
682 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_Dom_DtdNamedNodeMap_item, 0, 1, Dom\\Entity|Dom\\\116otation, MAY_BE_NULL)
683 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
684 ZEND_END_ARG_INFO()
685 
686 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_Dom_DtdNamedNodeMap_getNamedItem, 0, 1, Dom\\Entity|Dom\\\116otation, MAY_BE_NULL)
687 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
688 ZEND_END_ARG_INFO()
689 
690 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_Dom_DtdNamedNodeMap_getNamedItemNS, 0, 2, Dom\\Entity|Dom\\\116otation, MAY_BE_NULL)
691 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
692 	ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
693 ZEND_END_ARG_INFO()
694 
695 #define arginfo_class_Dom_DtdNamedNodeMap_count arginfo_class_Dom_Node_getLineNo
696 
697 #define arginfo_class_Dom_DtdNamedNodeMap_getIterator arginfo_class_DOMNodeList_getIterator
698 
699 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_HTMLCollection_item, 0, 1, Dom\\Element, 1)
700 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
701 ZEND_END_ARG_INFO()
702 
703 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_HTMLCollection_namedItem, 0, 1, Dom\\Element, 1)
704 	ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0)
705 ZEND_END_ARG_INFO()
706 
707 #define arginfo_class_Dom_HTMLCollection_count arginfo_class_Dom_Node_getLineNo
708 
709 #define arginfo_class_Dom_HTMLCollection_getIterator arginfo_class_DOMNodeList_getIterator
710 
711 #define arginfo_class_Dom_Element_hasAttributes arginfo_class_Dom_Node_hasChildNodes
712 
713 #define arginfo_class_Dom_Element_getAttributeNames arginfo_class_DOMNode___sleep
714 
715 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Element_getAttribute, 0, 1, IS_STRING, 1)
716 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
717 ZEND_END_ARG_INFO()
718 
719 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Element_getAttributeNS, 0, 2, IS_STRING, 1)
720 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
721 	ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
722 ZEND_END_ARG_INFO()
723 
724 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Element_setAttribute, 0, 2, IS_VOID, 0)
725 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
726 	ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
727 ZEND_END_ARG_INFO()
728 
729 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Element_setAttributeNS, 0, 3, IS_VOID, 0)
730 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
731 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
732 	ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
733 ZEND_END_ARG_INFO()
734 
735 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Element_removeAttribute, 0, 1, IS_VOID, 0)
736 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
737 ZEND_END_ARG_INFO()
738 
739 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Element_removeAttributeNS, 0, 2, IS_VOID, 0)
740 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
741 	ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
742 ZEND_END_ARG_INFO()
743 
744 #define arginfo_class_Dom_Element_toggleAttribute arginfo_class_DOMElement_toggleAttribute
745 
746 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Element_hasAttribute, 0, 1, _IS_BOOL, 0)
747 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
748 ZEND_END_ARG_INFO()
749 
750 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Element_hasAttributeNS, 0, 2, _IS_BOOL, 0)
751 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
752 	ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
753 ZEND_END_ARG_INFO()
754 
755 #define arginfo_class_Dom_Element_getAttributeNode arginfo_class_Dom_NamedNodeMap_getNamedItem
756 
757 #define arginfo_class_Dom_Element_getAttributeNodeNS arginfo_class_Dom_NamedNodeMap_getNamedItemNS
758 
759 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Element_setAttributeNode, 0, 1, Dom\\Attr, 1)
760 	ZEND_ARG_OBJ_INFO(0, attr, Dom\\Attr, 0)
761 ZEND_END_ARG_INFO()
762 
763 #define arginfo_class_Dom_Element_setAttributeNodeNS arginfo_class_Dom_Element_setAttributeNode
764 
765 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Element_removeAttributeNode, 0, 1, Dom\\Attr, 0)
766 	ZEND_ARG_OBJ_INFO(0, attr, Dom\\Attr, 0)
767 ZEND_END_ARG_INFO()
768 
769 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Element_getElementsByTagName, 0, 1, Dom\\HTMLCollection, 0)
770 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
771 ZEND_END_ARG_INFO()
772 
773 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Element_getElementsByTagNameNS, 0, 2, Dom\\HTMLCollection, 0)
774 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
775 	ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
776 ZEND_END_ARG_INFO()
777 
778 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Element_insertAdjacentElement, 0, 2, Dom\\Element, 1)
779 	ZEND_ARG_OBJ_INFO(0, where, Dom\\AdjacentPosition, 0)
780 	ZEND_ARG_OBJ_INFO(0, element, Dom\\Element, 0)
781 ZEND_END_ARG_INFO()
782 
783 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Element_insertAdjacentText, 0, 2, IS_VOID, 0)
784 	ZEND_ARG_OBJ_INFO(0, where, Dom\\AdjacentPosition, 0)
785 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
786 ZEND_END_ARG_INFO()
787 
788 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Element_insertAdjacentHTML, 0, 2, IS_VOID, 0)
789 	ZEND_ARG_OBJ_INFO(0, where, Dom\\AdjacentPosition, 0)
790 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
791 ZEND_END_ARG_INFO()
792 
793 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Element_setIdAttribute, 0, 2, IS_VOID, 0)
794 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
795 	ZEND_ARG_TYPE_INFO(0, isId, _IS_BOOL, 0)
796 ZEND_END_ARG_INFO()
797 
798 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Element_setIdAttributeNS, 0, 3, IS_VOID, 0)
799 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
800 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
801 	ZEND_ARG_TYPE_INFO(0, isId, _IS_BOOL, 0)
802 ZEND_END_ARG_INFO()
803 
804 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Element_setIdAttributeNode, 0, 2, IS_VOID, 0)
805 	ZEND_ARG_OBJ_INFO(0, attr, Dom\\Attr, 0)
806 	ZEND_ARG_TYPE_INFO(0, isId, _IS_BOOL, 0)
807 ZEND_END_ARG_INFO()
808 
809 #define arginfo_class_Dom_Element_remove arginfo_class_DOMChildNode_remove
810 
811 #define arginfo_class_Dom_Element_before arginfo_class_Dom_ParentNode_append
812 
813 #define arginfo_class_Dom_Element_after arginfo_class_Dom_ParentNode_append
814 
815 #define arginfo_class_Dom_Element_replaceWith arginfo_class_Dom_ParentNode_append
816 
817 #define arginfo_class_Dom_Element_append arginfo_class_Dom_ParentNode_append
818 
819 #define arginfo_class_Dom_Element_prepend arginfo_class_Dom_ParentNode_append
820 
821 #define arginfo_class_Dom_Element_replaceChildren arginfo_class_Dom_ParentNode_append
822 
823 #define arginfo_class_Dom_Element_querySelector arginfo_class_Dom_ParentNode_querySelector
824 
825 #define arginfo_class_Dom_Element_querySelectorAll arginfo_class_Dom_ParentNode_querySelectorAll
826 
827 #define arginfo_class_Dom_Element_closest arginfo_class_Dom_ParentNode_querySelector
828 
829 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Element_matches, 0, 1, _IS_BOOL, 0)
830 	ZEND_ARG_TYPE_INFO(0, selectors, IS_STRING, 0)
831 ZEND_END_ARG_INFO()
832 
833 #define arginfo_class_Dom_Element_getInScopeNamespaces arginfo_class_DOMNode___sleep
834 
835 #define arginfo_class_Dom_Element_getDescendantNamespaces arginfo_class_DOMNode___sleep
836 
837 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Element_rename, 0, 2, IS_VOID, 0)
838 	ZEND_ARG_TYPE_INFO(0, namespaceURI, IS_STRING, 1)
839 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
840 ZEND_END_ARG_INFO()
841 
842 #define arginfo_class_Dom_Attr_isId arginfo_class_Dom_Node_hasChildNodes
843 
844 #define arginfo_class_Dom_Attr_rename arginfo_class_Dom_Element_rename
845 
846 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_CharacterData_substringData, 0, 2, IS_STRING, 0)
847 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
848 	ZEND_ARG_TYPE_INFO(0, count, IS_LONG, 0)
849 ZEND_END_ARG_INFO()
850 
851 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_CharacterData_appendData, 0, 1, IS_VOID, 0)
852 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
853 ZEND_END_ARG_INFO()
854 
855 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_CharacterData_insertData, 0, 2, IS_VOID, 0)
856 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
857 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
858 ZEND_END_ARG_INFO()
859 
860 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_CharacterData_deleteData, 0, 2, IS_VOID, 0)
861 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
862 	ZEND_ARG_TYPE_INFO(0, count, IS_LONG, 0)
863 ZEND_END_ARG_INFO()
864 
865 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_CharacterData_replaceData, 0, 3, IS_VOID, 0)
866 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
867 	ZEND_ARG_TYPE_INFO(0, count, IS_LONG, 0)
868 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
869 ZEND_END_ARG_INFO()
870 
871 #define arginfo_class_Dom_CharacterData_remove arginfo_class_DOMChildNode_remove
872 
873 #define arginfo_class_Dom_CharacterData_before arginfo_class_Dom_ParentNode_append
874 
875 #define arginfo_class_Dom_CharacterData_after arginfo_class_Dom_ParentNode_append
876 
877 #define arginfo_class_Dom_CharacterData_replaceWith arginfo_class_Dom_ParentNode_append
878 
879 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Text_splitText, 0, 1, Dom\\Text, 0)
880 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
881 ZEND_END_ARG_INFO()
882 
883 #define arginfo_class_Dom_DocumentType_remove arginfo_class_DOMChildNode_remove
884 
885 #define arginfo_class_Dom_DocumentType_before arginfo_class_Dom_ParentNode_append
886 
887 #define arginfo_class_Dom_DocumentType_after arginfo_class_Dom_ParentNode_append
888 
889 #define arginfo_class_Dom_DocumentType_replaceWith arginfo_class_Dom_ParentNode_append
890 
891 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_DocumentFragment_appendXml, 0, 1, _IS_BOOL, 0)
892 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
893 ZEND_END_ARG_INFO()
894 
895 #define arginfo_class_Dom_DocumentFragment_append arginfo_class_Dom_ParentNode_append
896 
897 #define arginfo_class_Dom_DocumentFragment_prepend arginfo_class_Dom_ParentNode_append
898 
899 #define arginfo_class_Dom_DocumentFragment_replaceChildren arginfo_class_Dom_ParentNode_append
900 
901 #define arginfo_class_Dom_DocumentFragment_querySelector arginfo_class_Dom_ParentNode_querySelector
902 
903 #define arginfo_class_Dom_DocumentFragment_querySelectorAll arginfo_class_Dom_ParentNode_querySelectorAll
904 
905 #define arginfo_class_Dom_Document_getElementsByTagName arginfo_class_Dom_Element_getElementsByTagName
906 
907 #define arginfo_class_Dom_Document_getElementsByTagNameNS arginfo_class_Dom_Element_getElementsByTagNameNS
908 
909 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Document_createElement, 0, 1, Dom\\Element, 0)
910 	ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
911 ZEND_END_ARG_INFO()
912 
913 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Document_createElementNS, 0, 2, Dom\\Element, 0)
914 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
915 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
916 ZEND_END_ARG_INFO()
917 
918 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Document_createDocumentFragment, 0, 0, Dom\\DocumentFragment, 0)
919 ZEND_END_ARG_INFO()
920 
921 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Document_createTextNode, 0, 1, Dom\\Text, 0)
922 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
923 ZEND_END_ARG_INFO()
924 
925 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Document_createCDATASection, 0, 1, Dom\\CDATASection, 0)
926 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
927 ZEND_END_ARG_INFO()
928 
929 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Document_createComment, 0, 1, Dom\\Comment, 0)
930 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
931 ZEND_END_ARG_INFO()
932 
933 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Document_createProcessingInstruction, 0, 2, Dom\\ProcessingInstruction, 0)
934 	ZEND_ARG_TYPE_INFO(0, target, IS_STRING, 0)
935 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
936 ZEND_END_ARG_INFO()
937 
938 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Document_importNode, 0, 1, Dom\\\116ode, 0)
939 	ZEND_ARG_OBJ_INFO(0, node, Dom\\\116ode, 1)
940 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, deep, _IS_BOOL, 0, "false")
941 ZEND_END_ARG_INFO()
942 
943 #define arginfo_class_Dom_Document_adoptNode arginfo_class_Dom_Node_appendChild
944 
945 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Document_createAttribute, 0, 1, Dom\\Attr, 0)
946 	ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
947 ZEND_END_ARG_INFO()
948 
949 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Document_createAttributeNS, 0, 2, Dom\\Attr, 0)
950 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
951 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
952 ZEND_END_ARG_INFO()
953 
954 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Document_getElementById, 0, 1, Dom\\Element, 1)
955 	ZEND_ARG_TYPE_INFO(0, elementId, IS_STRING, 0)
956 ZEND_END_ARG_INFO()
957 
958 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Document_registerNodeClass, 0, 2, IS_VOID, 0)
959 	ZEND_ARG_TYPE_INFO(0, baseClass, IS_STRING, 0)
960 	ZEND_ARG_TYPE_INFO(0, extendedClass, IS_STRING, 1)
961 ZEND_END_ARG_INFO()
962 
963 #if defined(LIBXML_SCHEMAS_ENABLED)
964 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Document_schemaValidate, 0, 1, _IS_BOOL, 0)
965 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
966 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
967 ZEND_END_ARG_INFO()
968 
969 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Document_schemaValidateSource, 0, 1, _IS_BOOL, 0)
970 	ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
971 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
972 ZEND_END_ARG_INFO()
973 
974 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Document_relaxNgValidate, 0, 1, _IS_BOOL, 0)
975 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
976 ZEND_END_ARG_INFO()
977 
978 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_Document_relaxNgValidateSource, 0, 1, _IS_BOOL, 0)
979 	ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
980 ZEND_END_ARG_INFO()
981 #endif
982 
983 #define arginfo_class_Dom_Document_append arginfo_class_Dom_ParentNode_append
984 
985 #define arginfo_class_Dom_Document_prepend arginfo_class_Dom_ParentNode_append
986 
987 #define arginfo_class_Dom_Document_replaceChildren arginfo_class_Dom_ParentNode_append
988 
989 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_Document_importLegacyNode, 0, 1, Dom\\\116ode, 0)
990 	ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
991 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, deep, _IS_BOOL, 0, "false")
992 ZEND_END_ARG_INFO()
993 
994 #define arginfo_class_Dom_Document_querySelector arginfo_class_Dom_ParentNode_querySelector
995 
996 #define arginfo_class_Dom_Document_querySelectorAll arginfo_class_Dom_ParentNode_querySelectorAll
997 
998 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_HTMLDocument_createEmpty, 0, 0, Dom\\HTMLDocument, 0)
999 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 0, "\"UTF-8\"")
1000 ZEND_END_ARG_INFO()
1001 
1002 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_HTMLDocument_createFromFile, 0, 1, Dom\\HTMLDocument, 0)
1003 	ZEND_ARG_TYPE_INFO(0, path, IS_STRING, 0)
1004 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
1005 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, overrideEncoding, IS_STRING, 1, "null")
1006 ZEND_END_ARG_INFO()
1007 
1008 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_HTMLDocument_createFromString, 0, 1, Dom\\HTMLDocument, 0)
1009 	ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
1010 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
1011 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, overrideEncoding, IS_STRING, 1, "null")
1012 ZEND_END_ARG_INFO()
1013 
1014 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_Dom_HTMLDocument_saveXml, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
1015 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, node, Dom\\\116ode, 1, "null")
1016 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
1017 ZEND_END_ARG_INFO()
1018 
1019 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_Dom_HTMLDocument_saveXmlFile, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
1020 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1021 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
1022 ZEND_END_ARG_INFO()
1023 
1024 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_HTMLDocument_saveHtml, 0, 0, IS_STRING, 0)
1025 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, node, Dom\\\116ode, 1, "null")
1026 ZEND_END_ARG_INFO()
1027 
1028 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_Dom_HTMLDocument_saveHtmlFile, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
1029 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1030 ZEND_END_ARG_INFO()
1031 
1032 #if ZEND_DEBUG
1033 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_HTMLDocument_debugGetTemplateCount, 0, 0, IS_LONG, 0)
1034 ZEND_END_ARG_INFO()
1035 #endif
1036 
1037 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_XMLDocument_createEmpty, 0, 0, Dom\\XMLDocument, 0)
1038 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, version, IS_STRING, 0, "\"1.0\"")
1039 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 0, "\"UTF-8\"")
1040 ZEND_END_ARG_INFO()
1041 
1042 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_XMLDocument_createFromFile, 0, 1, Dom\\XMLDocument, 0)
1043 	ZEND_ARG_TYPE_INFO(0, path, IS_STRING, 0)
1044 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
1045 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, overrideEncoding, IS_STRING, 1, "null")
1046 ZEND_END_ARG_INFO()
1047 
1048 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_XMLDocument_createFromString, 0, 1, Dom\\XMLDocument, 0)
1049 	ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
1050 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
1051 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, overrideEncoding, IS_STRING, 1, "null")
1052 ZEND_END_ARG_INFO()
1053 
1054 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_XMLDocument_createEntityReference, 0, 1, Dom\\EntityReference, 0)
1055 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
1056 ZEND_END_ARG_INFO()
1057 
1058 #define arginfo_class_Dom_XMLDocument_validate arginfo_class_Dom_Node_hasChildNodes
1059 
1060 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_XMLDocument_xinclude, 0, 0, IS_LONG, 0)
1061 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
1062 ZEND_END_ARG_INFO()
1063 
1064 #define arginfo_class_Dom_XMLDocument_saveXml arginfo_class_Dom_HTMLDocument_saveXml
1065 
1066 #define arginfo_class_Dom_XMLDocument_saveXmlFile arginfo_class_Dom_HTMLDocument_saveXmlFile
1067 
1068 #define arginfo_class_Dom_TokenList___construct arginfo_class_DOMDocumentFragment___construct
1069 
1070 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_TokenList_item, 0, 1, IS_STRING, 1)
1071 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
1072 ZEND_END_ARG_INFO()
1073 
1074 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_TokenList_contains, 0, 1, _IS_BOOL, 0)
1075 	ZEND_ARG_TYPE_INFO(0, token, IS_STRING, 0)
1076 ZEND_END_ARG_INFO()
1077 
1078 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_TokenList_add, 0, 0, IS_VOID, 0)
1079 	ZEND_ARG_VARIADIC_TYPE_INFO(0, tokens, IS_STRING, 0)
1080 ZEND_END_ARG_INFO()
1081 
1082 #define arginfo_class_Dom_TokenList_remove arginfo_class_Dom_TokenList_add
1083 
1084 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_TokenList_toggle, 0, 1, _IS_BOOL, 0)
1085 	ZEND_ARG_TYPE_INFO(0, token, IS_STRING, 0)
1086 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, force, _IS_BOOL, 1, "null")
1087 ZEND_END_ARG_INFO()
1088 
1089 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_TokenList_replace, 0, 2, _IS_BOOL, 0)
1090 	ZEND_ARG_TYPE_INFO(0, token, IS_STRING, 0)
1091 	ZEND_ARG_TYPE_INFO(0, newToken, IS_STRING, 0)
1092 ZEND_END_ARG_INFO()
1093 
1094 #define arginfo_class_Dom_TokenList_supports arginfo_class_Dom_TokenList_contains
1095 
1096 #define arginfo_class_Dom_TokenList_count arginfo_class_Dom_Node_getLineNo
1097 
1098 #define arginfo_class_Dom_TokenList_getIterator arginfo_class_DOMNodeList_getIterator
1099 
1100 #define arginfo_class_Dom_NamespaceInfo___construct arginfo_class_DOMDocumentFragment___construct
1101 
1102 #if defined(LIBXML_XPATH_ENABLED)
1103 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Dom_XPath___construct, 0, 0, 1)
1104 	ZEND_ARG_OBJ_INFO(0, document, Dom\\Document, 0)
1105 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, registerNodeNS, _IS_BOOL, 0, "true")
1106 ZEND_END_ARG_INFO()
1107 
1108 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_Dom_XPath_evaluate, 0, 1, Dom\\\116odeList, MAY_BE_NULL|MAY_BE_BOOL|MAY_BE_DOUBLE|MAY_BE_STRING)
1109 	ZEND_ARG_TYPE_INFO(0, expression, IS_STRING, 0)
1110 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, contextNode, Dom\\\116ode, 1, "null")
1111 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, registerNodeNS, _IS_BOOL, 0, "true")
1112 ZEND_END_ARG_INFO()
1113 
1114 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Dom_XPath_query, 0, 1, Dom\\\116odeList, 0)
1115 	ZEND_ARG_TYPE_INFO(0, expression, IS_STRING, 0)
1116 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, contextNode, Dom\\\116ode, 1, "null")
1117 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, registerNodeNS, _IS_BOOL, 0, "true")
1118 ZEND_END_ARG_INFO()
1119 
1120 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_XPath_registerNamespace, 0, 2, _IS_BOOL, 0)
1121 	ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 0)
1122 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
1123 ZEND_END_ARG_INFO()
1124 
1125 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Dom_XPath_registerPhpFunctions, 0, 0, IS_VOID, 0)
1126 	ZEND_ARG_TYPE_MASK(0, restrict, MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_NULL, "null")
1127 ZEND_END_ARG_INFO()
1128 
1129 #define arginfo_class_Dom_XPath_registerPhpFunctionNS arginfo_class_DOMXPath_registerPhpFunctionNS
1130 
1131 #define arginfo_class_Dom_XPath_quote arginfo_class_DOMXPath_quote
1132 #endif
1133 
1134 ZEND_FUNCTION(dom_import_simplexml);
1135 ZEND_FUNCTION(Dom_import_simplexml);
1136 ZEND_METHOD(DOMCdataSection, __construct);
1137 ZEND_METHOD(DOMComment, __construct);
1138 ZEND_METHOD(DOMNode, appendChild);
1139 ZEND_METHOD(DOMNode, C14N);
1140 ZEND_METHOD(DOMNode, C14NFile);
1141 ZEND_METHOD(DOMNode, cloneNode);
1142 ZEND_METHOD(DOMNode, getLineNo);
1143 ZEND_METHOD(DOMNode, getNodePath);
1144 ZEND_METHOD(DOMNode, hasAttributes);
1145 ZEND_METHOD(DOMNode, hasChildNodes);
1146 ZEND_METHOD(DOMNode, insertBefore);
1147 ZEND_METHOD(DOMNode, isDefaultNamespace);
1148 ZEND_METHOD(DOMNode, isSameNode);
1149 ZEND_METHOD(DOMNode, isEqualNode);
1150 ZEND_METHOD(DOMNode, isSupported);
1151 ZEND_METHOD(DOMNode, lookupNamespaceURI);
1152 ZEND_METHOD(DOMNode, lookupPrefix);
1153 ZEND_METHOD(DOMNode, normalize);
1154 ZEND_METHOD(DOMNode, removeChild);
1155 ZEND_METHOD(DOMNode, replaceChild);
1156 ZEND_METHOD(DOMNode, contains);
1157 ZEND_METHOD(DOMNode, getRootNode);
1158 ZEND_METHOD(DOMNode, compareDocumentPosition);
1159 ZEND_METHOD(DOMNode, __sleep);
1160 ZEND_METHOD(DOMNode, __wakeup);
1161 ZEND_METHOD(DOMImplementation, hasFeature);
1162 ZEND_METHOD(DOMImplementation, createDocumentType);
1163 ZEND_METHOD(DOMImplementation, createDocument);
1164 ZEND_METHOD(DOMDocumentFragment, __construct);
1165 ZEND_METHOD(DOMDocumentFragment, appendXML);
1166 ZEND_METHOD(DOMElement, append);
1167 ZEND_METHOD(DOMElement, prepend);
1168 ZEND_METHOD(DOMDocument, replaceChildren);
1169 ZEND_METHOD(DOMNodeList, count);
1170 ZEND_METHOD(DOMNodeList, getIterator);
1171 ZEND_METHOD(DOMNodeList, item);
1172 ZEND_METHOD(DOMCharacterData, appendData);
1173 ZEND_METHOD(DOMCharacterData, substringData);
1174 ZEND_METHOD(DOMCharacterData, insertData);
1175 ZEND_METHOD(DOMCharacterData, deleteData);
1176 ZEND_METHOD(DOMCharacterData, replaceData);
1177 ZEND_METHOD(DOMElement, replaceWith);
1178 ZEND_METHOD(DOMElement, remove);
1179 ZEND_METHOD(DOMElement, before);
1180 ZEND_METHOD(DOMElement, after);
1181 ZEND_METHOD(DOMAttr, __construct);
1182 ZEND_METHOD(DOMAttr, isId);
1183 ZEND_METHOD(DOMElement, __construct);
1184 ZEND_METHOD(DOMElement, getAttribute);
1185 ZEND_METHOD(DOMElement, getAttributeNames);
1186 ZEND_METHOD(DOMElement, getAttributeNS);
1187 ZEND_METHOD(DOMElement, getAttributeNode);
1188 ZEND_METHOD(DOMElement, getAttributeNodeNS);
1189 ZEND_METHOD(DOMElement, getElementsByTagName);
1190 ZEND_METHOD(DOMElement, getElementsByTagNameNS);
1191 ZEND_METHOD(DOMElement, hasAttribute);
1192 ZEND_METHOD(DOMElement, hasAttributeNS);
1193 ZEND_METHOD(DOMElement, removeAttribute);
1194 ZEND_METHOD(DOMElement, removeAttributeNS);
1195 ZEND_METHOD(DOMElement, removeAttributeNode);
1196 ZEND_METHOD(DOMElement, setAttribute);
1197 ZEND_METHOD(DOMElement, setAttributeNS);
1198 ZEND_METHOD(DOMElement, setAttributeNode);
1199 ZEND_METHOD(DOMElement, setAttributeNodeNS);
1200 ZEND_METHOD(DOMElement, setIdAttribute);
1201 ZEND_METHOD(DOMElement, setIdAttributeNS);
1202 ZEND_METHOD(DOMElement, setIdAttributeNode);
1203 ZEND_METHOD(DOMElement, toggleAttribute);
1204 ZEND_METHOD(DOMElement, replaceChildren);
1205 ZEND_METHOD(DOMElement, insertAdjacentElement);
1206 ZEND_METHOD(DOMElement, insertAdjacentText);
1207 ZEND_METHOD(DOMDocument, __construct);
1208 ZEND_METHOD(DOMDocument, createAttribute);
1209 ZEND_METHOD(DOMDocument, createAttributeNS);
1210 ZEND_METHOD(DOMDocument, createCDATASection);
1211 ZEND_METHOD(DOMDocument, createComment);
1212 ZEND_METHOD(DOMDocument, createDocumentFragment);
1213 ZEND_METHOD(DOMDocument, createElement);
1214 ZEND_METHOD(DOMDocument, createElementNS);
1215 ZEND_METHOD(DOMDocument, createEntityReference);
1216 ZEND_METHOD(DOMDocument, createProcessingInstruction);
1217 ZEND_METHOD(DOMDocument, createTextNode);
1218 ZEND_METHOD(DOMDocument, getElementById);
1219 ZEND_METHOD(DOMDocument, importNode);
1220 ZEND_METHOD(DOMDocument, load);
1221 ZEND_METHOD(DOMDocument, loadXML);
1222 ZEND_METHOD(DOMDocument, normalizeDocument);
1223 ZEND_METHOD(DOMDocument, registerNodeClass);
1224 ZEND_METHOD(DOMDocument, save);
1225 #if defined(LIBXML_HTML_ENABLED)
1226 ZEND_METHOD(DOMDocument, loadHTML);
1227 ZEND_METHOD(DOMDocument, loadHTMLFile);
1228 ZEND_METHOD(DOMDocument, saveHTML);
1229 ZEND_METHOD(DOMDocument, saveHTMLFile);
1230 #endif
1231 ZEND_METHOD(DOMDocument, saveXML);
1232 #if defined(LIBXML_SCHEMAS_ENABLED)
1233 ZEND_METHOD(DOMDocument, schemaValidate);
1234 ZEND_METHOD(DOMDocument, schemaValidateSource);
1235 ZEND_METHOD(DOMDocument, relaxNGValidate);
1236 ZEND_METHOD(DOMDocument, relaxNGValidateSource);
1237 #endif
1238 ZEND_METHOD(DOMDocument, validate);
1239 ZEND_METHOD(DOMDocument, xinclude);
1240 ZEND_METHOD(DOMDocument, adoptNode);
1241 ZEND_METHOD(DOMText, __construct);
1242 ZEND_METHOD(DOMText, isWhitespaceInElementContent);
1243 ZEND_METHOD(DOMText, splitText);
1244 ZEND_METHOD(DOMNamedNodeMap, getNamedItem);
1245 ZEND_METHOD(DOMNamedNodeMap, getNamedItemNS);
1246 ZEND_METHOD(DOMNamedNodeMap, item);
1247 ZEND_METHOD(DOMNamedNodeMap, count);
1248 ZEND_METHOD(DOMNamedNodeMap, getIterator);
1249 ZEND_METHOD(DOMEntityReference, __construct);
1250 ZEND_METHOD(DOMProcessingInstruction, __construct);
1251 #if defined(LIBXML_XPATH_ENABLED)
1252 ZEND_METHOD(DOMXPath, __construct);
1253 ZEND_METHOD(DOMXPath, evaluate);
1254 ZEND_METHOD(DOMXPath, query);
1255 ZEND_METHOD(DOMXPath, registerNamespace);
1256 ZEND_METHOD(DOMXPath, registerPhpFunctions);
1257 ZEND_METHOD(DOMXPath, registerPhpFunctionNS);
1258 ZEND_METHOD(DOMXPath, quote);
1259 #endif
1260 ZEND_METHOD(Dom_Implementation, createDocumentType);
1261 ZEND_METHOD(Dom_Implementation, createDocument);
1262 ZEND_METHOD(Dom_Implementation, createHTMLDocument);
1263 ZEND_METHOD(Dom_Node, __construct);
1264 ZEND_METHOD(Dom_Node, isEqualNode);
1265 ZEND_METHOD(Dom_Node, isSameNode);
1266 ZEND_METHOD(Dom_Node, compareDocumentPosition);
1267 ZEND_METHOD(Dom_Node, contains);
1268 ZEND_METHOD(Dom_Node, lookupPrefix);
1269 ZEND_METHOD(Dom_Node, isDefaultNamespace);
1270 ZEND_METHOD(Dom_Node, insertBefore);
1271 ZEND_METHOD(Dom_Node, appendChild);
1272 ZEND_METHOD(Dom_Node, replaceChild);
1273 ZEND_METHOD(Dom_Node, removeChild);
1274 ZEND_METHOD(Dom_Node, getNodePath);
1275 ZEND_METHOD(Dom_HTMLCollection, namedItem);
1276 ZEND_METHOD(Dom_Element, removeAttribute);
1277 ZEND_METHOD(Dom_Element, setAttributeNodeNS);
1278 ZEND_METHOD(Dom_Element, removeAttributeNode);
1279 ZEND_METHOD(Dom_Element, getElementsByTagName);
1280 ZEND_METHOD(Dom_Element, getElementsByTagNameNS);
1281 ZEND_METHOD(Dom_Element, insertAdjacentElement);
1282 ZEND_METHOD(Dom_Element, insertAdjacentText);
1283 ZEND_METHOD(Dom_Element, insertAdjacentHTML);
1284 ZEND_METHOD(Dom_Element, setIdAttributeNode);
1285 ZEND_METHOD(Dom_Element, querySelector);
1286 ZEND_METHOD(Dom_Element, querySelectorAll);
1287 ZEND_METHOD(Dom_Element, closest);
1288 ZEND_METHOD(Dom_Element, matches);
1289 ZEND_METHOD(Dom_Element, getInScopeNamespaces);
1290 ZEND_METHOD(Dom_Element, getDescendantNamespaces);
1291 ZEND_METHOD(Dom_Element, rename);
1292 ZEND_METHOD(Dom_CharacterData, appendData);
1293 ZEND_METHOD(Dom_CharacterData, insertData);
1294 ZEND_METHOD(Dom_CharacterData, deleteData);
1295 ZEND_METHOD(Dom_CharacterData, replaceData);
1296 ZEND_METHOD(Dom_Document, createElement);
1297 ZEND_METHOD(Dom_Document, createElementNS);
1298 ZEND_METHOD(Dom_Document, createProcessingInstruction);
1299 ZEND_METHOD(Dom_Document, importNode);
1300 ZEND_METHOD(Dom_Document, adoptNode);
1301 ZEND_METHOD(Dom_Document, registerNodeClass);
1302 ZEND_METHOD(Dom_Document, importLegacyNode);
1303 ZEND_METHOD(Dom_HTMLDocument, createEmpty);
1304 ZEND_METHOD(Dom_HTMLDocument, createFromFile);
1305 ZEND_METHOD(Dom_HTMLDocument, createFromString);
1306 ZEND_METHOD(Dom_XMLDocument, saveXml);
1307 ZEND_METHOD(Dom_HTMLDocument, saveHtml);
1308 ZEND_METHOD(Dom_HTMLDocument, saveHtmlFile);
1309 #if ZEND_DEBUG
1310 ZEND_METHOD(Dom_HTMLDocument, debugGetTemplateCount);
1311 #endif
1312 ZEND_METHOD(Dom_XMLDocument, createEmpty);
1313 ZEND_METHOD(Dom_XMLDocument, createFromFile);
1314 ZEND_METHOD(Dom_XMLDocument, createFromString);
1315 ZEND_METHOD(Dom_XMLDocument, xinclude);
1316 ZEND_METHOD(Dom_TokenList, item);
1317 ZEND_METHOD(Dom_TokenList, contains);
1318 ZEND_METHOD(Dom_TokenList, add);
1319 ZEND_METHOD(Dom_TokenList, remove);
1320 ZEND_METHOD(Dom_TokenList, toggle);
1321 ZEND_METHOD(Dom_TokenList, replace);
1322 ZEND_METHOD(Dom_TokenList, supports);
1323 ZEND_METHOD(Dom_TokenList, count);
1324 ZEND_METHOD(Dom_TokenList, getIterator);
1325 #if defined(LIBXML_XPATH_ENABLED)
1326 ZEND_METHOD(Dom_XPath, __construct);
1327 ZEND_METHOD(Dom_XPath, evaluate);
1328 ZEND_METHOD(Dom_XPath, query);
1329 #endif
1330 
1331 static const zend_function_entry ext_functions[] = {
1332 	ZEND_FE(dom_import_simplexml, arginfo_dom_import_simplexml)
1333 	ZEND_RAW_FENTRY(ZEND_NS_NAME("Dom", "import_simplexml"), zif_Dom_import_simplexml, arginfo_Dom_import_simplexml, 0, NULL, NULL)
1334 	ZEND_FE_END
1335 };
1336 
1337 static const zend_function_entry class_DOMCdataSection_methods[] = {
1338 	ZEND_ME(DOMCdataSection, __construct, arginfo_class_DOMCdataSection___construct, ZEND_ACC_PUBLIC)
1339 	ZEND_FE_END
1340 };
1341 
1342 static const zend_function_entry class_DOMComment_methods[] = {
1343 	ZEND_ME(DOMComment, __construct, arginfo_class_DOMComment___construct, ZEND_ACC_PUBLIC)
1344 	ZEND_FE_END
1345 };
1346 
1347 static const zend_function_entry class_DOMParentNode_methods[] = {
1348 	ZEND_RAW_FENTRY("append", NULL, arginfo_class_DOMParentNode_append, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
1349 	ZEND_RAW_FENTRY("prepend", NULL, arginfo_class_DOMParentNode_prepend, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
1350 	ZEND_RAW_FENTRY("replaceChildren", NULL, arginfo_class_DOMParentNode_replaceChildren, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
1351 	ZEND_FE_END
1352 };
1353 
1354 static const zend_function_entry class_DOMChildNode_methods[] = {
1355 	ZEND_RAW_FENTRY("remove", NULL, arginfo_class_DOMChildNode_remove, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
1356 	ZEND_RAW_FENTRY("before", NULL, arginfo_class_DOMChildNode_before, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
1357 	ZEND_RAW_FENTRY("after", NULL, arginfo_class_DOMChildNode_after, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
1358 	ZEND_RAW_FENTRY("replaceWith", NULL, arginfo_class_DOMChildNode_replaceWith, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
1359 	ZEND_FE_END
1360 };
1361 
1362 static const zend_function_entry class_DOMNode_methods[] = {
1363 	ZEND_ME(DOMNode, appendChild, arginfo_class_DOMNode_appendChild, ZEND_ACC_PUBLIC)
1364 	ZEND_ME(DOMNode, C14N, arginfo_class_DOMNode_C14N, ZEND_ACC_PUBLIC)
1365 	ZEND_ME(DOMNode, C14NFile, arginfo_class_DOMNode_C14NFile, ZEND_ACC_PUBLIC)
1366 	ZEND_ME(DOMNode, cloneNode, arginfo_class_DOMNode_cloneNode, ZEND_ACC_PUBLIC)
1367 	ZEND_ME(DOMNode, getLineNo, arginfo_class_DOMNode_getLineNo, ZEND_ACC_PUBLIC)
1368 	ZEND_ME(DOMNode, getNodePath, arginfo_class_DOMNode_getNodePath, ZEND_ACC_PUBLIC)
1369 	ZEND_ME(DOMNode, hasAttributes, arginfo_class_DOMNode_hasAttributes, ZEND_ACC_PUBLIC)
1370 	ZEND_ME(DOMNode, hasChildNodes, arginfo_class_DOMNode_hasChildNodes, ZEND_ACC_PUBLIC)
1371 	ZEND_ME(DOMNode, insertBefore, arginfo_class_DOMNode_insertBefore, ZEND_ACC_PUBLIC)
1372 	ZEND_ME(DOMNode, isDefaultNamespace, arginfo_class_DOMNode_isDefaultNamespace, ZEND_ACC_PUBLIC)
1373 	ZEND_ME(DOMNode, isSameNode, arginfo_class_DOMNode_isSameNode, ZEND_ACC_PUBLIC)
1374 	ZEND_ME(DOMNode, isEqualNode, arginfo_class_DOMNode_isEqualNode, ZEND_ACC_PUBLIC)
1375 	ZEND_ME(DOMNode, isSupported, arginfo_class_DOMNode_isSupported, ZEND_ACC_PUBLIC)
1376 	ZEND_ME(DOMNode, lookupNamespaceURI, arginfo_class_DOMNode_lookupNamespaceURI, ZEND_ACC_PUBLIC)
1377 	ZEND_ME(DOMNode, lookupPrefix, arginfo_class_DOMNode_lookupPrefix, ZEND_ACC_PUBLIC)
1378 	ZEND_ME(DOMNode, normalize, arginfo_class_DOMNode_normalize, ZEND_ACC_PUBLIC)
1379 	ZEND_ME(DOMNode, removeChild, arginfo_class_DOMNode_removeChild, ZEND_ACC_PUBLIC)
1380 	ZEND_ME(DOMNode, replaceChild, arginfo_class_DOMNode_replaceChild, ZEND_ACC_PUBLIC)
1381 	ZEND_ME(DOMNode, contains, arginfo_class_DOMNode_contains, ZEND_ACC_PUBLIC)
1382 	ZEND_ME(DOMNode, getRootNode, arginfo_class_DOMNode_getRootNode, ZEND_ACC_PUBLIC)
1383 	ZEND_ME(DOMNode, compareDocumentPosition, arginfo_class_DOMNode_compareDocumentPosition, ZEND_ACC_PUBLIC)
1384 	ZEND_ME(DOMNode, __sleep, arginfo_class_DOMNode___sleep, ZEND_ACC_PUBLIC)
1385 	ZEND_ME(DOMNode, __wakeup, arginfo_class_DOMNode___wakeup, ZEND_ACC_PUBLIC)
1386 	ZEND_FE_END
1387 };
1388 
1389 static const zend_function_entry class_DOMNameSpaceNode_methods[] = {
1390 	ZEND_RAW_FENTRY("__sleep", zim_DOMNode___sleep, arginfo_class_DOMNameSpaceNode___sleep, ZEND_ACC_PUBLIC, NULL, NULL)
1391 	ZEND_RAW_FENTRY("__wakeup", zim_DOMNode___wakeup, arginfo_class_DOMNameSpaceNode___wakeup, ZEND_ACC_PUBLIC, NULL, NULL)
1392 	ZEND_FE_END
1393 };
1394 
1395 static const zend_function_entry class_DOMImplementation_methods[] = {
1396 	ZEND_ME(DOMImplementation, hasFeature, arginfo_class_DOMImplementation_hasFeature, ZEND_ACC_PUBLIC)
1397 	ZEND_ME(DOMImplementation, createDocumentType, arginfo_class_DOMImplementation_createDocumentType, ZEND_ACC_PUBLIC)
1398 	ZEND_ME(DOMImplementation, createDocument, arginfo_class_DOMImplementation_createDocument, ZEND_ACC_PUBLIC)
1399 	ZEND_FE_END
1400 };
1401 
1402 static const zend_function_entry class_DOMDocumentFragment_methods[] = {
1403 	ZEND_ME(DOMDocumentFragment, __construct, arginfo_class_DOMDocumentFragment___construct, ZEND_ACC_PUBLIC)
1404 	ZEND_ME(DOMDocumentFragment, appendXML, arginfo_class_DOMDocumentFragment_appendXML, ZEND_ACC_PUBLIC)
1405 	ZEND_RAW_FENTRY("append", zim_DOMElement_append, arginfo_class_DOMDocumentFragment_append, ZEND_ACC_PUBLIC, NULL, NULL)
1406 	ZEND_RAW_FENTRY("prepend", zim_DOMElement_prepend, arginfo_class_DOMDocumentFragment_prepend, ZEND_ACC_PUBLIC, NULL, NULL)
1407 	ZEND_RAW_FENTRY("replaceChildren", zim_DOMDocument_replaceChildren, arginfo_class_DOMDocumentFragment_replaceChildren, ZEND_ACC_PUBLIC, NULL, NULL)
1408 	ZEND_FE_END
1409 };
1410 
1411 static const zend_function_entry class_DOMNodeList_methods[] = {
1412 	ZEND_ME(DOMNodeList, count, arginfo_class_DOMNodeList_count, ZEND_ACC_PUBLIC)
1413 	ZEND_ME(DOMNodeList, getIterator, arginfo_class_DOMNodeList_getIterator, ZEND_ACC_PUBLIC)
1414 	ZEND_ME(DOMNodeList, item, arginfo_class_DOMNodeList_item, ZEND_ACC_PUBLIC)
1415 	ZEND_FE_END
1416 };
1417 
1418 static const zend_function_entry class_DOMCharacterData_methods[] = {
1419 	ZEND_ME(DOMCharacterData, appendData, arginfo_class_DOMCharacterData_appendData, ZEND_ACC_PUBLIC)
1420 	ZEND_ME(DOMCharacterData, substringData, arginfo_class_DOMCharacterData_substringData, ZEND_ACC_PUBLIC)
1421 	ZEND_ME(DOMCharacterData, insertData, arginfo_class_DOMCharacterData_insertData, ZEND_ACC_PUBLIC)
1422 	ZEND_ME(DOMCharacterData, deleteData, arginfo_class_DOMCharacterData_deleteData, ZEND_ACC_PUBLIC)
1423 	ZEND_ME(DOMCharacterData, replaceData, arginfo_class_DOMCharacterData_replaceData, ZEND_ACC_PUBLIC)
1424 	ZEND_RAW_FENTRY("replaceWith", zim_DOMElement_replaceWith, arginfo_class_DOMCharacterData_replaceWith, ZEND_ACC_PUBLIC, NULL, NULL)
1425 	ZEND_RAW_FENTRY("remove", zim_DOMElement_remove, arginfo_class_DOMCharacterData_remove, ZEND_ACC_PUBLIC, NULL, NULL)
1426 	ZEND_RAW_FENTRY("before", zim_DOMElement_before, arginfo_class_DOMCharacterData_before, ZEND_ACC_PUBLIC, NULL, NULL)
1427 	ZEND_RAW_FENTRY("after", zim_DOMElement_after, arginfo_class_DOMCharacterData_after, ZEND_ACC_PUBLIC, NULL, NULL)
1428 	ZEND_FE_END
1429 };
1430 
1431 static const zend_function_entry class_DOMAttr_methods[] = {
1432 	ZEND_ME(DOMAttr, __construct, arginfo_class_DOMAttr___construct, ZEND_ACC_PUBLIC)
1433 	ZEND_ME(DOMAttr, isId, arginfo_class_DOMAttr_isId, ZEND_ACC_PUBLIC)
1434 	ZEND_FE_END
1435 };
1436 
1437 static const zend_function_entry class_DOMElement_methods[] = {
1438 	ZEND_ME(DOMElement, __construct, arginfo_class_DOMElement___construct, ZEND_ACC_PUBLIC)
1439 	ZEND_ME(DOMElement, getAttribute, arginfo_class_DOMElement_getAttribute, ZEND_ACC_PUBLIC)
1440 	ZEND_ME(DOMElement, getAttributeNames, arginfo_class_DOMElement_getAttributeNames, ZEND_ACC_PUBLIC)
1441 	ZEND_ME(DOMElement, getAttributeNS, arginfo_class_DOMElement_getAttributeNS, ZEND_ACC_PUBLIC)
1442 	ZEND_ME(DOMElement, getAttributeNode, arginfo_class_DOMElement_getAttributeNode, ZEND_ACC_PUBLIC)
1443 	ZEND_ME(DOMElement, getAttributeNodeNS, arginfo_class_DOMElement_getAttributeNodeNS, ZEND_ACC_PUBLIC)
1444 	ZEND_ME(DOMElement, getElementsByTagName, arginfo_class_DOMElement_getElementsByTagName, ZEND_ACC_PUBLIC)
1445 	ZEND_ME(DOMElement, getElementsByTagNameNS, arginfo_class_DOMElement_getElementsByTagNameNS, ZEND_ACC_PUBLIC)
1446 	ZEND_ME(DOMElement, hasAttribute, arginfo_class_DOMElement_hasAttribute, ZEND_ACC_PUBLIC)
1447 	ZEND_ME(DOMElement, hasAttributeNS, arginfo_class_DOMElement_hasAttributeNS, ZEND_ACC_PUBLIC)
1448 	ZEND_ME(DOMElement, removeAttribute, arginfo_class_DOMElement_removeAttribute, ZEND_ACC_PUBLIC)
1449 	ZEND_ME(DOMElement, removeAttributeNS, arginfo_class_DOMElement_removeAttributeNS, ZEND_ACC_PUBLIC)
1450 	ZEND_ME(DOMElement, removeAttributeNode, arginfo_class_DOMElement_removeAttributeNode, ZEND_ACC_PUBLIC)
1451 	ZEND_ME(DOMElement, setAttribute, arginfo_class_DOMElement_setAttribute, ZEND_ACC_PUBLIC)
1452 	ZEND_ME(DOMElement, setAttributeNS, arginfo_class_DOMElement_setAttributeNS, ZEND_ACC_PUBLIC)
1453 	ZEND_ME(DOMElement, setAttributeNode, arginfo_class_DOMElement_setAttributeNode, ZEND_ACC_PUBLIC)
1454 	ZEND_ME(DOMElement, setAttributeNodeNS, arginfo_class_DOMElement_setAttributeNodeNS, ZEND_ACC_PUBLIC)
1455 	ZEND_ME(DOMElement, setIdAttribute, arginfo_class_DOMElement_setIdAttribute, ZEND_ACC_PUBLIC)
1456 	ZEND_ME(DOMElement, setIdAttributeNS, arginfo_class_DOMElement_setIdAttributeNS, ZEND_ACC_PUBLIC)
1457 	ZEND_ME(DOMElement, setIdAttributeNode, arginfo_class_DOMElement_setIdAttributeNode, ZEND_ACC_PUBLIC)
1458 	ZEND_ME(DOMElement, toggleAttribute, arginfo_class_DOMElement_toggleAttribute, ZEND_ACC_PUBLIC)
1459 	ZEND_ME(DOMElement, remove, arginfo_class_DOMElement_remove, ZEND_ACC_PUBLIC)
1460 	ZEND_ME(DOMElement, before, arginfo_class_DOMElement_before, ZEND_ACC_PUBLIC)
1461 	ZEND_ME(DOMElement, after, arginfo_class_DOMElement_after, ZEND_ACC_PUBLIC)
1462 	ZEND_ME(DOMElement, replaceWith, arginfo_class_DOMElement_replaceWith, ZEND_ACC_PUBLIC)
1463 	ZEND_ME(DOMElement, append, arginfo_class_DOMElement_append, ZEND_ACC_PUBLIC)
1464 	ZEND_ME(DOMElement, prepend, arginfo_class_DOMElement_prepend, ZEND_ACC_PUBLIC)
1465 	ZEND_ME(DOMElement, replaceChildren, arginfo_class_DOMElement_replaceChildren, ZEND_ACC_PUBLIC)
1466 	ZEND_ME(DOMElement, insertAdjacentElement, arginfo_class_DOMElement_insertAdjacentElement, ZEND_ACC_PUBLIC)
1467 	ZEND_ME(DOMElement, insertAdjacentText, arginfo_class_DOMElement_insertAdjacentText, ZEND_ACC_PUBLIC)
1468 	ZEND_FE_END
1469 };
1470 
1471 static const zend_function_entry class_DOMDocument_methods[] = {
1472 	ZEND_ME(DOMDocument, __construct, arginfo_class_DOMDocument___construct, ZEND_ACC_PUBLIC)
1473 	ZEND_ME(DOMDocument, createAttribute, arginfo_class_DOMDocument_createAttribute, ZEND_ACC_PUBLIC)
1474 	ZEND_ME(DOMDocument, createAttributeNS, arginfo_class_DOMDocument_createAttributeNS, ZEND_ACC_PUBLIC)
1475 	ZEND_ME(DOMDocument, createCDATASection, arginfo_class_DOMDocument_createCDATASection, ZEND_ACC_PUBLIC)
1476 	ZEND_ME(DOMDocument, createComment, arginfo_class_DOMDocument_createComment, ZEND_ACC_PUBLIC)
1477 	ZEND_ME(DOMDocument, createDocumentFragment, arginfo_class_DOMDocument_createDocumentFragment, ZEND_ACC_PUBLIC)
1478 	ZEND_ME(DOMDocument, createElement, arginfo_class_DOMDocument_createElement, ZEND_ACC_PUBLIC)
1479 	ZEND_ME(DOMDocument, createElementNS, arginfo_class_DOMDocument_createElementNS, ZEND_ACC_PUBLIC)
1480 	ZEND_ME(DOMDocument, createEntityReference, arginfo_class_DOMDocument_createEntityReference, ZEND_ACC_PUBLIC)
1481 	ZEND_ME(DOMDocument, createProcessingInstruction, arginfo_class_DOMDocument_createProcessingInstruction, ZEND_ACC_PUBLIC)
1482 	ZEND_ME(DOMDocument, createTextNode, arginfo_class_DOMDocument_createTextNode, ZEND_ACC_PUBLIC)
1483 	ZEND_ME(DOMDocument, getElementById, arginfo_class_DOMDocument_getElementById, ZEND_ACC_PUBLIC)
1484 	ZEND_RAW_FENTRY("getElementsByTagName", zim_DOMElement_getElementsByTagName, arginfo_class_DOMDocument_getElementsByTagName, ZEND_ACC_PUBLIC, NULL, NULL)
1485 	ZEND_RAW_FENTRY("getElementsByTagNameNS", zim_DOMElement_getElementsByTagNameNS, arginfo_class_DOMDocument_getElementsByTagNameNS, ZEND_ACC_PUBLIC, NULL, NULL)
1486 	ZEND_ME(DOMDocument, importNode, arginfo_class_DOMDocument_importNode, ZEND_ACC_PUBLIC)
1487 	ZEND_ME(DOMDocument, load, arginfo_class_DOMDocument_load, ZEND_ACC_PUBLIC)
1488 	ZEND_ME(DOMDocument, loadXML, arginfo_class_DOMDocument_loadXML, ZEND_ACC_PUBLIC)
1489 	ZEND_ME(DOMDocument, normalizeDocument, arginfo_class_DOMDocument_normalizeDocument, ZEND_ACC_PUBLIC)
1490 	ZEND_ME(DOMDocument, registerNodeClass, arginfo_class_DOMDocument_registerNodeClass, ZEND_ACC_PUBLIC)
1491 	ZEND_ME(DOMDocument, save, arginfo_class_DOMDocument_save, ZEND_ACC_PUBLIC)
1492 #if defined(LIBXML_HTML_ENABLED)
1493 	ZEND_ME(DOMDocument, loadHTML, arginfo_class_DOMDocument_loadHTML, ZEND_ACC_PUBLIC)
1494 	ZEND_ME(DOMDocument, loadHTMLFile, arginfo_class_DOMDocument_loadHTMLFile, ZEND_ACC_PUBLIC)
1495 	ZEND_ME(DOMDocument, saveHTML, arginfo_class_DOMDocument_saveHTML, ZEND_ACC_PUBLIC)
1496 	ZEND_ME(DOMDocument, saveHTMLFile, arginfo_class_DOMDocument_saveHTMLFile, ZEND_ACC_PUBLIC)
1497 #endif
1498 	ZEND_ME(DOMDocument, saveXML, arginfo_class_DOMDocument_saveXML, ZEND_ACC_PUBLIC)
1499 #if defined(LIBXML_SCHEMAS_ENABLED)
1500 	ZEND_ME(DOMDocument, schemaValidate, arginfo_class_DOMDocument_schemaValidate, ZEND_ACC_PUBLIC)
1501 	ZEND_ME(DOMDocument, schemaValidateSource, arginfo_class_DOMDocument_schemaValidateSource, ZEND_ACC_PUBLIC)
1502 	ZEND_ME(DOMDocument, relaxNGValidate, arginfo_class_DOMDocument_relaxNGValidate, ZEND_ACC_PUBLIC)
1503 	ZEND_ME(DOMDocument, relaxNGValidateSource, arginfo_class_DOMDocument_relaxNGValidateSource, ZEND_ACC_PUBLIC)
1504 #endif
1505 	ZEND_ME(DOMDocument, validate, arginfo_class_DOMDocument_validate, ZEND_ACC_PUBLIC)
1506 	ZEND_ME(DOMDocument, xinclude, arginfo_class_DOMDocument_xinclude, ZEND_ACC_PUBLIC)
1507 	ZEND_ME(DOMDocument, adoptNode, arginfo_class_DOMDocument_adoptNode, ZEND_ACC_PUBLIC)
1508 	ZEND_RAW_FENTRY("append", zim_DOMElement_append, arginfo_class_DOMDocument_append, ZEND_ACC_PUBLIC, NULL, NULL)
1509 	ZEND_RAW_FENTRY("prepend", zim_DOMElement_prepend, arginfo_class_DOMDocument_prepend, ZEND_ACC_PUBLIC, NULL, NULL)
1510 	ZEND_ME(DOMDocument, replaceChildren, arginfo_class_DOMDocument_replaceChildren, ZEND_ACC_PUBLIC)
1511 	ZEND_FE_END
1512 };
1513 
1514 static const zend_function_entry class_DOMText_methods[] = {
1515 	ZEND_ME(DOMText, __construct, arginfo_class_DOMText___construct, ZEND_ACC_PUBLIC)
1516 	ZEND_ME(DOMText, isWhitespaceInElementContent, arginfo_class_DOMText_isWhitespaceInElementContent, ZEND_ACC_PUBLIC)
1517 	ZEND_RAW_FENTRY("isElementContentWhitespace", zim_DOMText_isWhitespaceInElementContent, arginfo_class_DOMText_isElementContentWhitespace, ZEND_ACC_PUBLIC, NULL, NULL)
1518 	ZEND_ME(DOMText, splitText, arginfo_class_DOMText_splitText, ZEND_ACC_PUBLIC)
1519 	ZEND_FE_END
1520 };
1521 
1522 static const zend_function_entry class_DOMNamedNodeMap_methods[] = {
1523 	ZEND_ME(DOMNamedNodeMap, getNamedItem, arginfo_class_DOMNamedNodeMap_getNamedItem, ZEND_ACC_PUBLIC)
1524 	ZEND_ME(DOMNamedNodeMap, getNamedItemNS, arginfo_class_DOMNamedNodeMap_getNamedItemNS, ZEND_ACC_PUBLIC)
1525 	ZEND_ME(DOMNamedNodeMap, item, arginfo_class_DOMNamedNodeMap_item, ZEND_ACC_PUBLIC)
1526 	ZEND_ME(DOMNamedNodeMap, count, arginfo_class_DOMNamedNodeMap_count, ZEND_ACC_PUBLIC)
1527 	ZEND_ME(DOMNamedNodeMap, getIterator, arginfo_class_DOMNamedNodeMap_getIterator, ZEND_ACC_PUBLIC)
1528 	ZEND_FE_END
1529 };
1530 
1531 static const zend_function_entry class_DOMEntityReference_methods[] = {
1532 	ZEND_ME(DOMEntityReference, __construct, arginfo_class_DOMEntityReference___construct, ZEND_ACC_PUBLIC)
1533 	ZEND_FE_END
1534 };
1535 
1536 static const zend_function_entry class_DOMProcessingInstruction_methods[] = {
1537 	ZEND_ME(DOMProcessingInstruction, __construct, arginfo_class_DOMProcessingInstruction___construct, ZEND_ACC_PUBLIC)
1538 	ZEND_FE_END
1539 };
1540 
1541 #if defined(LIBXML_XPATH_ENABLED)
1542 static const zend_function_entry class_DOMXPath_methods[] = {
1543 	ZEND_ME(DOMXPath, __construct, arginfo_class_DOMXPath___construct, ZEND_ACC_PUBLIC)
1544 	ZEND_ME(DOMXPath, evaluate, arginfo_class_DOMXPath_evaluate, ZEND_ACC_PUBLIC)
1545 	ZEND_ME(DOMXPath, query, arginfo_class_DOMXPath_query, ZEND_ACC_PUBLIC)
1546 	ZEND_ME(DOMXPath, registerNamespace, arginfo_class_DOMXPath_registerNamespace, ZEND_ACC_PUBLIC)
1547 	ZEND_ME(DOMXPath, registerPhpFunctions, arginfo_class_DOMXPath_registerPhpFunctions, ZEND_ACC_PUBLIC)
1548 	ZEND_ME(DOMXPath, registerPhpFunctionNS, arginfo_class_DOMXPath_registerPhpFunctionNS, ZEND_ACC_PUBLIC)
1549 	ZEND_ME(DOMXPath, quote, arginfo_class_DOMXPath_quote, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
1550 	ZEND_FE_END
1551 };
1552 #endif
1553 
1554 static const zend_function_entry class_Dom_ParentNode_methods[] = {
1555 	ZEND_RAW_FENTRY("append", NULL, arginfo_class_Dom_ParentNode_append, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
1556 	ZEND_RAW_FENTRY("prepend", NULL, arginfo_class_Dom_ParentNode_prepend, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
1557 	ZEND_RAW_FENTRY("replaceChildren", NULL, arginfo_class_Dom_ParentNode_replaceChildren, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
1558 	ZEND_RAW_FENTRY("querySelector", NULL, arginfo_class_Dom_ParentNode_querySelector, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
1559 	ZEND_RAW_FENTRY("querySelectorAll", NULL, arginfo_class_Dom_ParentNode_querySelectorAll, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
1560 	ZEND_FE_END
1561 };
1562 
1563 static const zend_function_entry class_Dom_ChildNode_methods[] = {
1564 	ZEND_RAW_FENTRY("remove", NULL, arginfo_class_Dom_ChildNode_remove, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
1565 	ZEND_RAW_FENTRY("before", NULL, arginfo_class_Dom_ChildNode_before, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
1566 	ZEND_RAW_FENTRY("after", NULL, arginfo_class_Dom_ChildNode_after, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
1567 	ZEND_RAW_FENTRY("replaceWith", NULL, arginfo_class_Dom_ChildNode_replaceWith, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT, NULL, NULL)
1568 	ZEND_FE_END
1569 };
1570 
1571 static const zend_function_entry class_Dom_Implementation_methods[] = {
1572 	ZEND_ME(Dom_Implementation, createDocumentType, arginfo_class_Dom_Implementation_createDocumentType, ZEND_ACC_PUBLIC)
1573 	ZEND_ME(Dom_Implementation, createDocument, arginfo_class_Dom_Implementation_createDocument, ZEND_ACC_PUBLIC)
1574 	ZEND_ME(Dom_Implementation, createHTMLDocument, arginfo_class_Dom_Implementation_createHTMLDocument, ZEND_ACC_PUBLIC)
1575 	ZEND_FE_END
1576 };
1577 
1578 static const zend_function_entry class_Dom_Node_methods[] = {
1579 	ZEND_ME(Dom_Node, __construct, arginfo_class_Dom_Node___construct, ZEND_ACC_PRIVATE|ZEND_ACC_FINAL)
1580 	ZEND_RAW_FENTRY("getRootNode", zim_DOMNode_getRootNode, arginfo_class_Dom_Node_getRootNode, ZEND_ACC_PUBLIC, NULL, NULL)
1581 	ZEND_RAW_FENTRY("hasChildNodes", zim_DOMNode_hasChildNodes, arginfo_class_Dom_Node_hasChildNodes, ZEND_ACC_PUBLIC, NULL, NULL)
1582 	ZEND_RAW_FENTRY("normalize", zim_DOMNode_normalize, arginfo_class_Dom_Node_normalize, ZEND_ACC_PUBLIC, NULL, NULL)
1583 	ZEND_RAW_FENTRY("cloneNode", zim_DOMNode_cloneNode, arginfo_class_Dom_Node_cloneNode, ZEND_ACC_PUBLIC, NULL, NULL)
1584 	ZEND_ME(Dom_Node, isEqualNode, arginfo_class_Dom_Node_isEqualNode, ZEND_ACC_PUBLIC)
1585 	ZEND_ME(Dom_Node, isSameNode, arginfo_class_Dom_Node_isSameNode, ZEND_ACC_PUBLIC)
1586 	ZEND_ME(Dom_Node, compareDocumentPosition, arginfo_class_Dom_Node_compareDocumentPosition, ZEND_ACC_PUBLIC)
1587 	ZEND_ME(Dom_Node, contains, arginfo_class_Dom_Node_contains, ZEND_ACC_PUBLIC)
1588 	ZEND_ME(Dom_Node, lookupPrefix, arginfo_class_Dom_Node_lookupPrefix, ZEND_ACC_PUBLIC)
1589 	ZEND_RAW_FENTRY("lookupNamespaceURI", zim_DOMNode_lookupNamespaceURI, arginfo_class_Dom_Node_lookupNamespaceURI, ZEND_ACC_PUBLIC, NULL, NULL)
1590 	ZEND_ME(Dom_Node, isDefaultNamespace, arginfo_class_Dom_Node_isDefaultNamespace, ZEND_ACC_PUBLIC)
1591 	ZEND_ME(Dom_Node, insertBefore, arginfo_class_Dom_Node_insertBefore, ZEND_ACC_PUBLIC)
1592 	ZEND_ME(Dom_Node, appendChild, arginfo_class_Dom_Node_appendChild, ZEND_ACC_PUBLIC)
1593 	ZEND_ME(Dom_Node, replaceChild, arginfo_class_Dom_Node_replaceChild, ZEND_ACC_PUBLIC)
1594 	ZEND_ME(Dom_Node, removeChild, arginfo_class_Dom_Node_removeChild, ZEND_ACC_PUBLIC)
1595 	ZEND_RAW_FENTRY("getLineNo", zim_DOMNode_getLineNo, arginfo_class_Dom_Node_getLineNo, ZEND_ACC_PUBLIC, NULL, NULL)
1596 	ZEND_ME(Dom_Node, getNodePath, arginfo_class_Dom_Node_getNodePath, ZEND_ACC_PUBLIC)
1597 	ZEND_RAW_FENTRY("C14N", zim_DOMNode_C14N, arginfo_class_Dom_Node_C14N, ZEND_ACC_PUBLIC, NULL, NULL)
1598 	ZEND_RAW_FENTRY("C14NFile", zim_DOMNode_C14NFile, arginfo_class_Dom_Node_C14NFile, ZEND_ACC_PUBLIC, NULL, NULL)
1599 	ZEND_RAW_FENTRY("__sleep", zim_DOMNode___sleep, arginfo_class_Dom_Node___sleep, ZEND_ACC_PUBLIC, NULL, NULL)
1600 	ZEND_RAW_FENTRY("__wakeup", zim_DOMNode___wakeup, arginfo_class_Dom_Node___wakeup, ZEND_ACC_PUBLIC, NULL, NULL)
1601 	ZEND_FE_END
1602 };
1603 
1604 static const zend_function_entry class_Dom_NodeList_methods[] = {
1605 	ZEND_RAW_FENTRY("count", zim_DOMNodeList_count, arginfo_class_Dom_NodeList_count, ZEND_ACC_PUBLIC, NULL, NULL)
1606 	ZEND_RAW_FENTRY("getIterator", zim_DOMNodeList_getIterator, arginfo_class_Dom_NodeList_getIterator, ZEND_ACC_PUBLIC, NULL, NULL)
1607 	ZEND_RAW_FENTRY("item", zim_DOMNodeList_item, arginfo_class_Dom_NodeList_item, ZEND_ACC_PUBLIC, NULL, NULL)
1608 	ZEND_FE_END
1609 };
1610 
1611 static const zend_function_entry class_Dom_NamedNodeMap_methods[] = {
1612 	ZEND_RAW_FENTRY("item", zim_DOMNamedNodeMap_item, arginfo_class_Dom_NamedNodeMap_item, ZEND_ACC_PUBLIC, NULL, NULL)
1613 	ZEND_RAW_FENTRY("getNamedItem", zim_DOMNamedNodeMap_getNamedItem, arginfo_class_Dom_NamedNodeMap_getNamedItem, ZEND_ACC_PUBLIC, NULL, NULL)
1614 	ZEND_RAW_FENTRY("getNamedItemNS", zim_DOMNamedNodeMap_getNamedItemNS, arginfo_class_Dom_NamedNodeMap_getNamedItemNS, ZEND_ACC_PUBLIC, NULL, NULL)
1615 	ZEND_RAW_FENTRY("count", zim_DOMNamedNodeMap_count, arginfo_class_Dom_NamedNodeMap_count, ZEND_ACC_PUBLIC, NULL, NULL)
1616 	ZEND_RAW_FENTRY("getIterator", zim_DOMNamedNodeMap_getIterator, arginfo_class_Dom_NamedNodeMap_getIterator, ZEND_ACC_PUBLIC, NULL, NULL)
1617 	ZEND_FE_END
1618 };
1619 
1620 static const zend_function_entry class_Dom_DtdNamedNodeMap_methods[] = {
1621 	ZEND_RAW_FENTRY("item", zim_DOMNamedNodeMap_item, arginfo_class_Dom_DtdNamedNodeMap_item, ZEND_ACC_PUBLIC, NULL, NULL)
1622 	ZEND_RAW_FENTRY("getNamedItem", zim_DOMNamedNodeMap_getNamedItem, arginfo_class_Dom_DtdNamedNodeMap_getNamedItem, ZEND_ACC_PUBLIC, NULL, NULL)
1623 	ZEND_RAW_FENTRY("getNamedItemNS", zim_DOMNamedNodeMap_getNamedItemNS, arginfo_class_Dom_DtdNamedNodeMap_getNamedItemNS, ZEND_ACC_PUBLIC, NULL, NULL)
1624 	ZEND_RAW_FENTRY("count", zim_DOMNamedNodeMap_count, arginfo_class_Dom_DtdNamedNodeMap_count, ZEND_ACC_PUBLIC, NULL, NULL)
1625 	ZEND_RAW_FENTRY("getIterator", zim_DOMNamedNodeMap_getIterator, arginfo_class_Dom_DtdNamedNodeMap_getIterator, ZEND_ACC_PUBLIC, NULL, NULL)
1626 	ZEND_FE_END
1627 };
1628 
1629 static const zend_function_entry class_Dom_HTMLCollection_methods[] = {
1630 	ZEND_RAW_FENTRY("item", zim_DOMNodeList_item, arginfo_class_Dom_HTMLCollection_item, ZEND_ACC_PUBLIC, NULL, NULL)
1631 	ZEND_ME(Dom_HTMLCollection, namedItem, arginfo_class_Dom_HTMLCollection_namedItem, ZEND_ACC_PUBLIC)
1632 	ZEND_RAW_FENTRY("count", zim_DOMNodeList_count, arginfo_class_Dom_HTMLCollection_count, ZEND_ACC_PUBLIC, NULL, NULL)
1633 	ZEND_RAW_FENTRY("getIterator", zim_DOMNodeList_getIterator, arginfo_class_Dom_HTMLCollection_getIterator, ZEND_ACC_PUBLIC, NULL, NULL)
1634 	ZEND_FE_END
1635 };
1636 
1637 static const zend_function_entry class_Dom_Element_methods[] = {
1638 	ZEND_RAW_FENTRY("hasAttributes", zim_DOMNode_hasAttributes, arginfo_class_Dom_Element_hasAttributes, ZEND_ACC_PUBLIC, NULL, NULL)
1639 	ZEND_RAW_FENTRY("getAttributeNames", zim_DOMElement_getAttributeNames, arginfo_class_Dom_Element_getAttributeNames, ZEND_ACC_PUBLIC, NULL, NULL)
1640 	ZEND_RAW_FENTRY("getAttribute", zim_DOMElement_getAttribute, arginfo_class_Dom_Element_getAttribute, ZEND_ACC_PUBLIC, NULL, NULL)
1641 	ZEND_RAW_FENTRY("getAttributeNS", zim_DOMElement_getAttributeNS, arginfo_class_Dom_Element_getAttributeNS, ZEND_ACC_PUBLIC, NULL, NULL)
1642 	ZEND_RAW_FENTRY("setAttribute", zim_DOMElement_setAttribute, arginfo_class_Dom_Element_setAttribute, ZEND_ACC_PUBLIC, NULL, NULL)
1643 	ZEND_RAW_FENTRY("setAttributeNS", zim_DOMElement_setAttributeNS, arginfo_class_Dom_Element_setAttributeNS, ZEND_ACC_PUBLIC, NULL, NULL)
1644 	ZEND_ME(Dom_Element, removeAttribute, arginfo_class_Dom_Element_removeAttribute, ZEND_ACC_PUBLIC)
1645 	ZEND_RAW_FENTRY("removeAttributeNS", zim_DOMElement_removeAttributeNS, arginfo_class_Dom_Element_removeAttributeNS, ZEND_ACC_PUBLIC, NULL, NULL)
1646 	ZEND_RAW_FENTRY("toggleAttribute", zim_DOMElement_toggleAttribute, arginfo_class_Dom_Element_toggleAttribute, ZEND_ACC_PUBLIC, NULL, NULL)
1647 	ZEND_RAW_FENTRY("hasAttribute", zim_DOMElement_hasAttribute, arginfo_class_Dom_Element_hasAttribute, ZEND_ACC_PUBLIC, NULL, NULL)
1648 	ZEND_RAW_FENTRY("hasAttributeNS", zim_DOMElement_hasAttributeNS, arginfo_class_Dom_Element_hasAttributeNS, ZEND_ACC_PUBLIC, NULL, NULL)
1649 	ZEND_RAW_FENTRY("getAttributeNode", zim_DOMElement_getAttributeNode, arginfo_class_Dom_Element_getAttributeNode, ZEND_ACC_PUBLIC, NULL, NULL)
1650 	ZEND_RAW_FENTRY("getAttributeNodeNS", zim_DOMElement_getAttributeNodeNS, arginfo_class_Dom_Element_getAttributeNodeNS, ZEND_ACC_PUBLIC, NULL, NULL)
1651 	ZEND_RAW_FENTRY("setAttributeNode", zim_Dom_Element_setAttributeNodeNS, arginfo_class_Dom_Element_setAttributeNode, ZEND_ACC_PUBLIC, NULL, NULL)
1652 	ZEND_ME(Dom_Element, setAttributeNodeNS, arginfo_class_Dom_Element_setAttributeNodeNS, ZEND_ACC_PUBLIC)
1653 	ZEND_ME(Dom_Element, removeAttributeNode, arginfo_class_Dom_Element_removeAttributeNode, ZEND_ACC_PUBLIC)
1654 	ZEND_ME(Dom_Element, getElementsByTagName, arginfo_class_Dom_Element_getElementsByTagName, ZEND_ACC_PUBLIC)
1655 	ZEND_ME(Dom_Element, getElementsByTagNameNS, arginfo_class_Dom_Element_getElementsByTagNameNS, ZEND_ACC_PUBLIC)
1656 	ZEND_ME(Dom_Element, insertAdjacentElement, arginfo_class_Dom_Element_insertAdjacentElement, ZEND_ACC_PUBLIC)
1657 	ZEND_ME(Dom_Element, insertAdjacentText, arginfo_class_Dom_Element_insertAdjacentText, ZEND_ACC_PUBLIC)
1658 	ZEND_ME(Dom_Element, insertAdjacentHTML, arginfo_class_Dom_Element_insertAdjacentHTML, ZEND_ACC_PUBLIC)
1659 	ZEND_RAW_FENTRY("setIdAttribute", zim_DOMElement_setIdAttribute, arginfo_class_Dom_Element_setIdAttribute, ZEND_ACC_PUBLIC, NULL, NULL)
1660 	ZEND_RAW_FENTRY("setIdAttributeNS", zim_DOMElement_setIdAttributeNS, arginfo_class_Dom_Element_setIdAttributeNS, ZEND_ACC_PUBLIC, NULL, NULL)
1661 	ZEND_ME(Dom_Element, setIdAttributeNode, arginfo_class_Dom_Element_setIdAttributeNode, ZEND_ACC_PUBLIC)
1662 	ZEND_RAW_FENTRY("remove", zim_DOMElement_remove, arginfo_class_Dom_Element_remove, ZEND_ACC_PUBLIC, NULL, NULL)
1663 	ZEND_RAW_FENTRY("before", zim_DOMElement_before, arginfo_class_Dom_Element_before, ZEND_ACC_PUBLIC, NULL, NULL)
1664 	ZEND_RAW_FENTRY("after", zim_DOMElement_after, arginfo_class_Dom_Element_after, ZEND_ACC_PUBLIC, NULL, NULL)
1665 	ZEND_RAW_FENTRY("replaceWith", zim_DOMElement_replaceWith, arginfo_class_Dom_Element_replaceWith, ZEND_ACC_PUBLIC, NULL, NULL)
1666 	ZEND_RAW_FENTRY("append", zim_DOMElement_append, arginfo_class_Dom_Element_append, ZEND_ACC_PUBLIC, NULL, NULL)
1667 	ZEND_RAW_FENTRY("prepend", zim_DOMElement_prepend, arginfo_class_Dom_Element_prepend, ZEND_ACC_PUBLIC, NULL, NULL)
1668 	ZEND_RAW_FENTRY("replaceChildren", zim_DOMElement_replaceChildren, arginfo_class_Dom_Element_replaceChildren, ZEND_ACC_PUBLIC, NULL, NULL)
1669 	ZEND_ME(Dom_Element, querySelector, arginfo_class_Dom_Element_querySelector, ZEND_ACC_PUBLIC)
1670 	ZEND_ME(Dom_Element, querySelectorAll, arginfo_class_Dom_Element_querySelectorAll, ZEND_ACC_PUBLIC)
1671 	ZEND_ME(Dom_Element, closest, arginfo_class_Dom_Element_closest, ZEND_ACC_PUBLIC)
1672 	ZEND_ME(Dom_Element, matches, arginfo_class_Dom_Element_matches, ZEND_ACC_PUBLIC)
1673 	ZEND_ME(Dom_Element, getInScopeNamespaces, arginfo_class_Dom_Element_getInScopeNamespaces, ZEND_ACC_PUBLIC)
1674 	ZEND_ME(Dom_Element, getDescendantNamespaces, arginfo_class_Dom_Element_getDescendantNamespaces, ZEND_ACC_PUBLIC)
1675 	ZEND_ME(Dom_Element, rename, arginfo_class_Dom_Element_rename, ZEND_ACC_PUBLIC)
1676 	ZEND_FE_END
1677 };
1678 
1679 static const zend_function_entry class_Dom_Attr_methods[] = {
1680 	ZEND_RAW_FENTRY("isId", zim_DOMAttr_isId, arginfo_class_Dom_Attr_isId, ZEND_ACC_PUBLIC, NULL, NULL)
1681 	ZEND_RAW_FENTRY("rename", zim_Dom_Element_rename, arginfo_class_Dom_Attr_rename, ZEND_ACC_PUBLIC, NULL, NULL)
1682 	ZEND_FE_END
1683 };
1684 
1685 static const zend_function_entry class_Dom_CharacterData_methods[] = {
1686 	ZEND_RAW_FENTRY("substringData", zim_DOMCharacterData_substringData, arginfo_class_Dom_CharacterData_substringData, ZEND_ACC_PUBLIC, NULL, NULL)
1687 	ZEND_ME(Dom_CharacterData, appendData, arginfo_class_Dom_CharacterData_appendData, ZEND_ACC_PUBLIC)
1688 	ZEND_ME(Dom_CharacterData, insertData, arginfo_class_Dom_CharacterData_insertData, ZEND_ACC_PUBLIC)
1689 	ZEND_ME(Dom_CharacterData, deleteData, arginfo_class_Dom_CharacterData_deleteData, ZEND_ACC_PUBLIC)
1690 	ZEND_ME(Dom_CharacterData, replaceData, arginfo_class_Dom_CharacterData_replaceData, ZEND_ACC_PUBLIC)
1691 	ZEND_RAW_FENTRY("remove", zim_DOMElement_remove, arginfo_class_Dom_CharacterData_remove, ZEND_ACC_PUBLIC, NULL, NULL)
1692 	ZEND_RAW_FENTRY("before", zim_DOMElement_before, arginfo_class_Dom_CharacterData_before, ZEND_ACC_PUBLIC, NULL, NULL)
1693 	ZEND_RAW_FENTRY("after", zim_DOMElement_after, arginfo_class_Dom_CharacterData_after, ZEND_ACC_PUBLIC, NULL, NULL)
1694 	ZEND_RAW_FENTRY("replaceWith", zim_DOMElement_replaceWith, arginfo_class_Dom_CharacterData_replaceWith, ZEND_ACC_PUBLIC, NULL, NULL)
1695 	ZEND_FE_END
1696 };
1697 
1698 static const zend_function_entry class_Dom_Text_methods[] = {
1699 	ZEND_RAW_FENTRY("splitText", zim_DOMText_splitText, arginfo_class_Dom_Text_splitText, ZEND_ACC_PUBLIC, NULL, NULL)
1700 	ZEND_FE_END
1701 };
1702 
1703 static const zend_function_entry class_Dom_DocumentType_methods[] = {
1704 	ZEND_RAW_FENTRY("remove", zim_DOMElement_remove, arginfo_class_Dom_DocumentType_remove, ZEND_ACC_PUBLIC, NULL, NULL)
1705 	ZEND_RAW_FENTRY("before", zim_DOMElement_before, arginfo_class_Dom_DocumentType_before, ZEND_ACC_PUBLIC, NULL, NULL)
1706 	ZEND_RAW_FENTRY("after", zim_DOMElement_after, arginfo_class_Dom_DocumentType_after, ZEND_ACC_PUBLIC, NULL, NULL)
1707 	ZEND_RAW_FENTRY("replaceWith", zim_DOMElement_replaceWith, arginfo_class_Dom_DocumentType_replaceWith, ZEND_ACC_PUBLIC, NULL, NULL)
1708 	ZEND_FE_END
1709 };
1710 
1711 static const zend_function_entry class_Dom_DocumentFragment_methods[] = {
1712 	ZEND_RAW_FENTRY("appendXml", zim_DOMDocumentFragment_appendXML, arginfo_class_Dom_DocumentFragment_appendXml, ZEND_ACC_PUBLIC, NULL, NULL)
1713 	ZEND_RAW_FENTRY("append", zim_DOMElement_append, arginfo_class_Dom_DocumentFragment_append, ZEND_ACC_PUBLIC, NULL, NULL)
1714 	ZEND_RAW_FENTRY("prepend", zim_DOMElement_prepend, arginfo_class_Dom_DocumentFragment_prepend, ZEND_ACC_PUBLIC, NULL, NULL)
1715 	ZEND_RAW_FENTRY("replaceChildren", zim_DOMElement_replaceChildren, arginfo_class_Dom_DocumentFragment_replaceChildren, ZEND_ACC_PUBLIC, NULL, NULL)
1716 	ZEND_RAW_FENTRY("querySelector", zim_Dom_Element_querySelector, arginfo_class_Dom_DocumentFragment_querySelector, ZEND_ACC_PUBLIC, NULL, NULL)
1717 	ZEND_RAW_FENTRY("querySelectorAll", zim_Dom_Element_querySelectorAll, arginfo_class_Dom_DocumentFragment_querySelectorAll, ZEND_ACC_PUBLIC, NULL, NULL)
1718 	ZEND_FE_END
1719 };
1720 
1721 static const zend_function_entry class_Dom_Document_methods[] = {
1722 	ZEND_RAW_FENTRY("getElementsByTagName", zim_Dom_Element_getElementsByTagName, arginfo_class_Dom_Document_getElementsByTagName, ZEND_ACC_PUBLIC, NULL, NULL)
1723 	ZEND_RAW_FENTRY("getElementsByTagNameNS", zim_Dom_Element_getElementsByTagNameNS, arginfo_class_Dom_Document_getElementsByTagNameNS, ZEND_ACC_PUBLIC, NULL, NULL)
1724 	ZEND_ME(Dom_Document, createElement, arginfo_class_Dom_Document_createElement, ZEND_ACC_PUBLIC)
1725 	ZEND_ME(Dom_Document, createElementNS, arginfo_class_Dom_Document_createElementNS, ZEND_ACC_PUBLIC)
1726 	ZEND_RAW_FENTRY("createDocumentFragment", zim_DOMDocument_createDocumentFragment, arginfo_class_Dom_Document_createDocumentFragment, ZEND_ACC_PUBLIC, NULL, NULL)
1727 	ZEND_RAW_FENTRY("createTextNode", zim_DOMDocument_createTextNode, arginfo_class_Dom_Document_createTextNode, ZEND_ACC_PUBLIC, NULL, NULL)
1728 	ZEND_RAW_FENTRY("createCDATASection", zim_DOMDocument_createCDATASection, arginfo_class_Dom_Document_createCDATASection, ZEND_ACC_PUBLIC, NULL, NULL)
1729 	ZEND_RAW_FENTRY("createComment", zim_DOMDocument_createComment, arginfo_class_Dom_Document_createComment, ZEND_ACC_PUBLIC, NULL, NULL)
1730 	ZEND_ME(Dom_Document, createProcessingInstruction, arginfo_class_Dom_Document_createProcessingInstruction, ZEND_ACC_PUBLIC)
1731 	ZEND_ME(Dom_Document, importNode, arginfo_class_Dom_Document_importNode, ZEND_ACC_PUBLIC)
1732 	ZEND_ME(Dom_Document, adoptNode, arginfo_class_Dom_Document_adoptNode, ZEND_ACC_PUBLIC)
1733 	ZEND_RAW_FENTRY("createAttribute", zim_DOMDocument_createAttribute, arginfo_class_Dom_Document_createAttribute, ZEND_ACC_PUBLIC, NULL, NULL)
1734 	ZEND_RAW_FENTRY("createAttributeNS", zim_DOMDocument_createAttributeNS, arginfo_class_Dom_Document_createAttributeNS, ZEND_ACC_PUBLIC, NULL, NULL)
1735 	ZEND_RAW_FENTRY("getElementById", zim_DOMDocument_getElementById, arginfo_class_Dom_Document_getElementById, ZEND_ACC_PUBLIC, NULL, NULL)
1736 	ZEND_ME(Dom_Document, registerNodeClass, arginfo_class_Dom_Document_registerNodeClass, ZEND_ACC_PUBLIC)
1737 #if defined(LIBXML_SCHEMAS_ENABLED)
1738 	ZEND_RAW_FENTRY("schemaValidate", zim_DOMDocument_schemaValidate, arginfo_class_Dom_Document_schemaValidate, ZEND_ACC_PUBLIC, NULL, NULL)
1739 	ZEND_RAW_FENTRY("schemaValidateSource", zim_DOMDocument_schemaValidateSource, arginfo_class_Dom_Document_schemaValidateSource, ZEND_ACC_PUBLIC, NULL, NULL)
1740 	ZEND_RAW_FENTRY("relaxNgValidate", zim_DOMDocument_relaxNGValidate, arginfo_class_Dom_Document_relaxNgValidate, ZEND_ACC_PUBLIC, NULL, NULL)
1741 	ZEND_RAW_FENTRY("relaxNgValidateSource", zim_DOMDocument_relaxNGValidateSource, arginfo_class_Dom_Document_relaxNgValidateSource, ZEND_ACC_PUBLIC, NULL, NULL)
1742 #endif
1743 	ZEND_RAW_FENTRY("append", zim_DOMElement_append, arginfo_class_Dom_Document_append, ZEND_ACC_PUBLIC, NULL, NULL)
1744 	ZEND_RAW_FENTRY("prepend", zim_DOMElement_prepend, arginfo_class_Dom_Document_prepend, ZEND_ACC_PUBLIC, NULL, NULL)
1745 	ZEND_RAW_FENTRY("replaceChildren", zim_DOMDocument_replaceChildren, arginfo_class_Dom_Document_replaceChildren, ZEND_ACC_PUBLIC, NULL, NULL)
1746 	ZEND_ME(Dom_Document, importLegacyNode, arginfo_class_Dom_Document_importLegacyNode, ZEND_ACC_PUBLIC)
1747 	ZEND_RAW_FENTRY("querySelector", zim_Dom_Element_querySelector, arginfo_class_Dom_Document_querySelector, ZEND_ACC_PUBLIC, NULL, NULL)
1748 	ZEND_RAW_FENTRY("querySelectorAll", zim_Dom_Element_querySelectorAll, arginfo_class_Dom_Document_querySelectorAll, ZEND_ACC_PUBLIC, NULL, NULL)
1749 	ZEND_FE_END
1750 };
1751 
1752 static const zend_function_entry class_Dom_HTMLDocument_methods[] = {
1753 	ZEND_ME(Dom_HTMLDocument, createEmpty, arginfo_class_Dom_HTMLDocument_createEmpty, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
1754 	ZEND_ME(Dom_HTMLDocument, createFromFile, arginfo_class_Dom_HTMLDocument_createFromFile, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
1755 	ZEND_ME(Dom_HTMLDocument, createFromString, arginfo_class_Dom_HTMLDocument_createFromString, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
1756 	ZEND_RAW_FENTRY("saveXml", zim_Dom_XMLDocument_saveXml, arginfo_class_Dom_HTMLDocument_saveXml, ZEND_ACC_PUBLIC, NULL, NULL)
1757 	ZEND_RAW_FENTRY("saveXmlFile", zim_DOMDocument_save, arginfo_class_Dom_HTMLDocument_saveXmlFile, ZEND_ACC_PUBLIC, NULL, NULL)
1758 	ZEND_ME(Dom_HTMLDocument, saveHtml, arginfo_class_Dom_HTMLDocument_saveHtml, ZEND_ACC_PUBLIC)
1759 	ZEND_ME(Dom_HTMLDocument, saveHtmlFile, arginfo_class_Dom_HTMLDocument_saveHtmlFile, ZEND_ACC_PUBLIC)
1760 #if ZEND_DEBUG
1761 	ZEND_ME(Dom_HTMLDocument, debugGetTemplateCount, arginfo_class_Dom_HTMLDocument_debugGetTemplateCount, ZEND_ACC_PUBLIC)
1762 #endif
1763 	ZEND_FE_END
1764 };
1765 
1766 static const zend_function_entry class_Dom_XMLDocument_methods[] = {
1767 	ZEND_ME(Dom_XMLDocument, createEmpty, arginfo_class_Dom_XMLDocument_createEmpty, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
1768 	ZEND_ME(Dom_XMLDocument, createFromFile, arginfo_class_Dom_XMLDocument_createFromFile, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
1769 	ZEND_ME(Dom_XMLDocument, createFromString, arginfo_class_Dom_XMLDocument_createFromString, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
1770 	ZEND_RAW_FENTRY("createEntityReference", zim_DOMDocument_createEntityReference, arginfo_class_Dom_XMLDocument_createEntityReference, ZEND_ACC_PUBLIC, NULL, NULL)
1771 	ZEND_RAW_FENTRY("validate", zim_DOMDocument_validate, arginfo_class_Dom_XMLDocument_validate, ZEND_ACC_PUBLIC, NULL, NULL)
1772 	ZEND_ME(Dom_XMLDocument, xinclude, arginfo_class_Dom_XMLDocument_xinclude, ZEND_ACC_PUBLIC)
1773 	ZEND_ME(Dom_XMLDocument, saveXml, arginfo_class_Dom_XMLDocument_saveXml, ZEND_ACC_PUBLIC)
1774 	ZEND_RAW_FENTRY("saveXmlFile", zim_DOMDocument_save, arginfo_class_Dom_XMLDocument_saveXmlFile, ZEND_ACC_PUBLIC, NULL, NULL)
1775 	ZEND_FE_END
1776 };
1777 
1778 static const zend_function_entry class_Dom_TokenList_methods[] = {
1779 	ZEND_RAW_FENTRY("__construct", zim_Dom_Node___construct, arginfo_class_Dom_TokenList___construct, ZEND_ACC_PRIVATE, NULL, NULL)
1780 	ZEND_ME(Dom_TokenList, item, arginfo_class_Dom_TokenList_item, ZEND_ACC_PUBLIC)
1781 	ZEND_ME(Dom_TokenList, contains, arginfo_class_Dom_TokenList_contains, ZEND_ACC_PUBLIC)
1782 	ZEND_ME(Dom_TokenList, add, arginfo_class_Dom_TokenList_add, ZEND_ACC_PUBLIC)
1783 	ZEND_ME(Dom_TokenList, remove, arginfo_class_Dom_TokenList_remove, ZEND_ACC_PUBLIC)
1784 	ZEND_ME(Dom_TokenList, toggle, arginfo_class_Dom_TokenList_toggle, ZEND_ACC_PUBLIC)
1785 	ZEND_ME(Dom_TokenList, replace, arginfo_class_Dom_TokenList_replace, ZEND_ACC_PUBLIC)
1786 	ZEND_ME(Dom_TokenList, supports, arginfo_class_Dom_TokenList_supports, ZEND_ACC_PUBLIC)
1787 	ZEND_ME(Dom_TokenList, count, arginfo_class_Dom_TokenList_count, ZEND_ACC_PUBLIC)
1788 	ZEND_ME(Dom_TokenList, getIterator, arginfo_class_Dom_TokenList_getIterator, ZEND_ACC_PUBLIC)
1789 	ZEND_FE_END
1790 };
1791 
1792 static const zend_function_entry class_Dom_NamespaceInfo_methods[] = {
1793 	ZEND_RAW_FENTRY("__construct", zim_Dom_Node___construct, arginfo_class_Dom_NamespaceInfo___construct, ZEND_ACC_PRIVATE, NULL, NULL)
1794 	ZEND_FE_END
1795 };
1796 
1797 #if defined(LIBXML_XPATH_ENABLED)
1798 static const zend_function_entry class_Dom_XPath_methods[] = {
1799 	ZEND_ME(Dom_XPath, __construct, arginfo_class_Dom_XPath___construct, ZEND_ACC_PUBLIC)
1800 	ZEND_ME(Dom_XPath, evaluate, arginfo_class_Dom_XPath_evaluate, ZEND_ACC_PUBLIC)
1801 	ZEND_ME(Dom_XPath, query, arginfo_class_Dom_XPath_query, ZEND_ACC_PUBLIC)
1802 	ZEND_RAW_FENTRY("registerNamespace", zim_DOMXPath_registerNamespace, arginfo_class_Dom_XPath_registerNamespace, ZEND_ACC_PUBLIC, NULL, NULL)
1803 	ZEND_RAW_FENTRY("registerPhpFunctions", zim_DOMXPath_registerPhpFunctions, arginfo_class_Dom_XPath_registerPhpFunctions, ZEND_ACC_PUBLIC, NULL, NULL)
1804 	ZEND_RAW_FENTRY("registerPhpFunctionNS", zim_DOMXPath_registerPhpFunctionNS, arginfo_class_Dom_XPath_registerPhpFunctionNS, ZEND_ACC_PUBLIC, NULL, NULL)
1805 	ZEND_RAW_FENTRY("quote", zim_DOMXPath_quote, arginfo_class_Dom_XPath_quote, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
1806 	ZEND_FE_END
1807 };
1808 #endif
1809 
register_php_dom_symbols(int module_number)1810 static void register_php_dom_symbols(int module_number)
1811 {
1812 	REGISTER_LONG_CONSTANT("XML_ELEMENT_NODE", XML_ELEMENT_NODE, CONST_PERSISTENT);
1813 	REGISTER_LONG_CONSTANT("XML_ATTRIBUTE_NODE", XML_ATTRIBUTE_NODE, CONST_PERSISTENT);
1814 	REGISTER_LONG_CONSTANT("XML_TEXT_NODE", XML_TEXT_NODE, CONST_PERSISTENT);
1815 	REGISTER_LONG_CONSTANT("XML_CDATA_SECTION_NODE", XML_CDATA_SECTION_NODE, CONST_PERSISTENT);
1816 	REGISTER_LONG_CONSTANT("XML_ENTITY_REF_NODE", XML_ENTITY_REF_NODE, CONST_PERSISTENT);
1817 	REGISTER_LONG_CONSTANT("XML_ENTITY_NODE", XML_ENTITY_NODE, CONST_PERSISTENT);
1818 	REGISTER_LONG_CONSTANT("XML_PI_NODE", XML_PI_NODE, CONST_PERSISTENT);
1819 	REGISTER_LONG_CONSTANT("XML_COMMENT_NODE", XML_COMMENT_NODE, CONST_PERSISTENT);
1820 	REGISTER_LONG_CONSTANT("XML_DOCUMENT_NODE", XML_DOCUMENT_NODE, CONST_PERSISTENT);
1821 	REGISTER_LONG_CONSTANT("XML_DOCUMENT_TYPE_NODE", XML_DOCUMENT_TYPE_NODE, CONST_PERSISTENT);
1822 	REGISTER_LONG_CONSTANT("XML_DOCUMENT_FRAG_NODE", XML_DOCUMENT_FRAG_NODE, CONST_PERSISTENT);
1823 	REGISTER_LONG_CONSTANT("XML_NOTATION_NODE", XML_NOTATION_NODE, CONST_PERSISTENT);
1824 	REGISTER_LONG_CONSTANT("XML_HTML_DOCUMENT_NODE", XML_HTML_DOCUMENT_NODE, CONST_PERSISTENT);
1825 	REGISTER_LONG_CONSTANT("XML_DTD_NODE", XML_DTD_NODE, CONST_PERSISTENT);
1826 	REGISTER_LONG_CONSTANT("XML_ELEMENT_DECL_NODE", XML_ELEMENT_DECL, CONST_PERSISTENT);
1827 	REGISTER_LONG_CONSTANT("XML_ATTRIBUTE_DECL_NODE", XML_ATTRIBUTE_DECL, CONST_PERSISTENT);
1828 	REGISTER_LONG_CONSTANT("XML_ENTITY_DECL_NODE", XML_ENTITY_DECL, CONST_PERSISTENT);
1829 	REGISTER_LONG_CONSTANT("XML_NAMESPACE_DECL_NODE", XML_NAMESPACE_DECL, CONST_PERSISTENT);
1830 	REGISTER_LONG_CONSTANT("XML_LOCAL_NAMESPACE", XML_LOCAL_NAMESPACE, CONST_PERSISTENT);
1831 	REGISTER_LONG_CONSTANT("XML_ATTRIBUTE_CDATA", XML_ATTRIBUTE_CDATA, CONST_PERSISTENT);
1832 	REGISTER_LONG_CONSTANT("XML_ATTRIBUTE_ID", XML_ATTRIBUTE_ID, CONST_PERSISTENT);
1833 	REGISTER_LONG_CONSTANT("XML_ATTRIBUTE_IDREF", XML_ATTRIBUTE_IDREF, CONST_PERSISTENT);
1834 	REGISTER_LONG_CONSTANT("XML_ATTRIBUTE_IDREFS", XML_ATTRIBUTE_IDREFS, CONST_PERSISTENT);
1835 	REGISTER_LONG_CONSTANT("XML_ATTRIBUTE_ENTITY", XML_ATTRIBUTE_ENTITIES, CONST_PERSISTENT);
1836 	REGISTER_LONG_CONSTANT("XML_ATTRIBUTE_NMTOKEN", XML_ATTRIBUTE_NMTOKEN, CONST_PERSISTENT);
1837 	REGISTER_LONG_CONSTANT("XML_ATTRIBUTE_NMTOKENS", XML_ATTRIBUTE_NMTOKENS, CONST_PERSISTENT);
1838 	REGISTER_LONG_CONSTANT("XML_ATTRIBUTE_ENUMERATION", XML_ATTRIBUTE_ENUMERATION, CONST_PERSISTENT);
1839 	REGISTER_LONG_CONSTANT("XML_ATTRIBUTE_NOTATION", XML_ATTRIBUTE_NOTATION, CONST_PERSISTENT);
1840 	REGISTER_LONG_CONSTANT("DOM_PHP_ERR", PHP_ERR, CONST_PERSISTENT | CONST_DEPRECATED);
1841 	REGISTER_LONG_CONSTANT("DOM_INDEX_SIZE_ERR", INDEX_SIZE_ERR, CONST_PERSISTENT);
1842 	REGISTER_LONG_CONSTANT("DOMSTRING_SIZE_ERR", DOMSTRING_SIZE_ERR, CONST_PERSISTENT);
1843 	REGISTER_LONG_CONSTANT("DOM_HIERARCHY_REQUEST_ERR", HIERARCHY_REQUEST_ERR, CONST_PERSISTENT);
1844 	REGISTER_LONG_CONSTANT("DOM_WRONG_DOCUMENT_ERR", WRONG_DOCUMENT_ERR, CONST_PERSISTENT);
1845 	REGISTER_LONG_CONSTANT("DOM_INVALID_CHARACTER_ERR", INVALID_CHARACTER_ERR, CONST_PERSISTENT);
1846 	REGISTER_LONG_CONSTANT("DOM_NO_DATA_ALLOWED_ERR", NO_DATA_ALLOWED_ERR, CONST_PERSISTENT);
1847 	REGISTER_LONG_CONSTANT("DOM_NO_MODIFICATION_ALLOWED_ERR", NO_MODIFICATION_ALLOWED_ERR, CONST_PERSISTENT);
1848 	REGISTER_LONG_CONSTANT("DOM_NOT_FOUND_ERR", NOT_FOUND_ERR, CONST_PERSISTENT);
1849 	REGISTER_LONG_CONSTANT("DOM_NOT_SUPPORTED_ERR", NOT_SUPPORTED_ERR, CONST_PERSISTENT);
1850 	REGISTER_LONG_CONSTANT("DOM_INUSE_ATTRIBUTE_ERR", INUSE_ATTRIBUTE_ERR, CONST_PERSISTENT);
1851 	REGISTER_LONG_CONSTANT("DOM_INVALID_STATE_ERR", INVALID_STATE_ERR, CONST_PERSISTENT);
1852 	REGISTER_LONG_CONSTANT("DOM_SYNTAX_ERR", SYNTAX_ERR, CONST_PERSISTENT);
1853 	REGISTER_LONG_CONSTANT("DOM_INVALID_MODIFICATION_ERR", INVALID_MODIFICATION_ERR, CONST_PERSISTENT);
1854 	REGISTER_LONG_CONSTANT("DOM_NAMESPACE_ERR", NAMESPACE_ERR, CONST_PERSISTENT);
1855 	REGISTER_LONG_CONSTANT("DOM_INVALID_ACCESS_ERR", INVALID_ACCESS_ERR, CONST_PERSISTENT);
1856 	REGISTER_LONG_CONSTANT("DOM_VALIDATION_ERR", VALIDATION_ERR, CONST_PERSISTENT);
1857 	REGISTER_LONG_CONSTANT("Dom\\INDEX_SIZE_ERR", INDEX_SIZE_ERR, CONST_PERSISTENT);
1858 	REGISTER_LONG_CONSTANT("Dom\\STRING_SIZE_ERR", DOMSTRING_SIZE_ERR, CONST_PERSISTENT);
1859 	REGISTER_LONG_CONSTANT("Dom\\HIERARCHY_REQUEST_ERR", HIERARCHY_REQUEST_ERR, CONST_PERSISTENT);
1860 	REGISTER_LONG_CONSTANT("Dom\\WRONG_DOCUMENT_ERR", WRONG_DOCUMENT_ERR, CONST_PERSISTENT);
1861 	REGISTER_LONG_CONSTANT("Dom\\INVALID_CHARACTER_ERR", INVALID_CHARACTER_ERR, CONST_PERSISTENT);
1862 	REGISTER_LONG_CONSTANT("Dom\\NO_DATA_ALLOWED_ERR", NO_DATA_ALLOWED_ERR, CONST_PERSISTENT);
1863 	REGISTER_LONG_CONSTANT("Dom\\NO_MODIFICATION_ALLOWED_ERR", NO_MODIFICATION_ALLOWED_ERR, CONST_PERSISTENT);
1864 	REGISTER_LONG_CONSTANT("Dom\\NOT_FOUND_ERR", NOT_FOUND_ERR, CONST_PERSISTENT);
1865 	REGISTER_LONG_CONSTANT("Dom\\NOT_SUPPORTED_ERR", NOT_SUPPORTED_ERR, CONST_PERSISTENT);
1866 	REGISTER_LONG_CONSTANT("Dom\\INUSE_ATTRIBUTE_ERR", INUSE_ATTRIBUTE_ERR, CONST_PERSISTENT);
1867 	REGISTER_LONG_CONSTANT("Dom\\INVALID_STATE_ERR", INVALID_STATE_ERR, CONST_PERSISTENT);
1868 	REGISTER_LONG_CONSTANT("Dom\\SYNTAX_ERR", SYNTAX_ERR, CONST_PERSISTENT);
1869 	REGISTER_LONG_CONSTANT("Dom\\INVALID_MODIFICATION_ERR", INVALID_MODIFICATION_ERR, CONST_PERSISTENT);
1870 	REGISTER_LONG_CONSTANT("Dom\\NAMESPACE_ERR", NAMESPACE_ERR, CONST_PERSISTENT);
1871 	REGISTER_LONG_CONSTANT("Dom\\VALIDATION_ERR", VALIDATION_ERR, CONST_PERSISTENT);
1872 	REGISTER_LONG_CONSTANT("Dom\\HTML_NO_DEFAULT_NS", DOM_HTML_NO_DEFAULT_NS, CONST_PERSISTENT);
1873 }
1874 
register_class_DOMDocumentType(zend_class_entry * class_entry_DOMNode)1875 static zend_class_entry *register_class_DOMDocumentType(zend_class_entry *class_entry_DOMNode)
1876 {
1877 	zend_class_entry ce, *class_entry;
1878 
1879 	INIT_CLASS_ENTRY(ce, "DOMDocumentType", NULL);
1880 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DOMNode, 0);
1881 
1882 	zval property_name_default_value;
1883 	ZVAL_UNDEF(&property_name_default_value);
1884 	zend_declare_typed_property(class_entry, ZSTR_KNOWN(ZEND_STR_NAME), &property_name_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1885 
1886 	zval property_entities_default_value;
1887 	ZVAL_UNDEF(&property_entities_default_value);
1888 	zend_string *property_entities_name = zend_string_init("entities", sizeof("entities") - 1, 1);
1889 	zend_string *property_entities_class_DOMNamedNodeMap = zend_string_init("DOMNamedNodeMap", sizeof("DOMNamedNodeMap")-1, 1);
1890 	zend_declare_typed_property(class_entry, property_entities_name, &property_entities_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_entities_class_DOMNamedNodeMap, 0, 0));
1891 	zend_string_release(property_entities_name);
1892 
1893 	zval property_notations_default_value;
1894 	ZVAL_UNDEF(&property_notations_default_value);
1895 	zend_string *property_notations_name = zend_string_init("notations", sizeof("notations") - 1, 1);
1896 	zend_string *property_notations_class_DOMNamedNodeMap = zend_string_init("DOMNamedNodeMap", sizeof("DOMNamedNodeMap")-1, 1);
1897 	zend_declare_typed_property(class_entry, property_notations_name, &property_notations_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_notations_class_DOMNamedNodeMap, 0, 0));
1898 	zend_string_release(property_notations_name);
1899 
1900 	zval property_publicId_default_value;
1901 	ZVAL_UNDEF(&property_publicId_default_value);
1902 	zend_string *property_publicId_name = zend_string_init("publicId", sizeof("publicId") - 1, 1);
1903 	zend_declare_typed_property(class_entry, property_publicId_name, &property_publicId_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1904 	zend_string_release(property_publicId_name);
1905 
1906 	zval property_systemId_default_value;
1907 	ZVAL_UNDEF(&property_systemId_default_value);
1908 	zend_string *property_systemId_name = zend_string_init("systemId", sizeof("systemId") - 1, 1);
1909 	zend_declare_typed_property(class_entry, property_systemId_name, &property_systemId_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1910 	zend_string_release(property_systemId_name);
1911 
1912 	zval property_internalSubset_default_value;
1913 	ZVAL_UNDEF(&property_internalSubset_default_value);
1914 	zend_string *property_internalSubset_name = zend_string_init("internalSubset", sizeof("internalSubset") - 1, 1);
1915 	zend_declare_typed_property(class_entry, property_internalSubset_name, &property_internalSubset_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1916 	zend_string_release(property_internalSubset_name);
1917 
1918 	return class_entry;
1919 }
1920 
register_class_DOMCdataSection(zend_class_entry * class_entry_DOMText)1921 static zend_class_entry *register_class_DOMCdataSection(zend_class_entry *class_entry_DOMText)
1922 {
1923 	zend_class_entry ce, *class_entry;
1924 
1925 	INIT_CLASS_ENTRY(ce, "DOMCdataSection", class_DOMCdataSection_methods);
1926 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DOMText, 0);
1927 
1928 	return class_entry;
1929 }
1930 
register_class_DOMComment(zend_class_entry * class_entry_DOMCharacterData)1931 static zend_class_entry *register_class_DOMComment(zend_class_entry *class_entry_DOMCharacterData)
1932 {
1933 	zend_class_entry ce, *class_entry;
1934 
1935 	INIT_CLASS_ENTRY(ce, "DOMComment", class_DOMComment_methods);
1936 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DOMCharacterData, 0);
1937 
1938 	return class_entry;
1939 }
1940 
register_class_DOMParentNode(void)1941 static zend_class_entry *register_class_DOMParentNode(void)
1942 {
1943 	zend_class_entry ce, *class_entry;
1944 
1945 	INIT_CLASS_ENTRY(ce, "DOMParentNode", class_DOMParentNode_methods);
1946 	class_entry = zend_register_internal_interface(&ce);
1947 
1948 	return class_entry;
1949 }
1950 
register_class_DOMChildNode(void)1951 static zend_class_entry *register_class_DOMChildNode(void)
1952 {
1953 	zend_class_entry ce, *class_entry;
1954 
1955 	INIT_CLASS_ENTRY(ce, "DOMChildNode", class_DOMChildNode_methods);
1956 	class_entry = zend_register_internal_interface(&ce);
1957 
1958 	return class_entry;
1959 }
1960 
register_class_DOMNode(void)1961 static zend_class_entry *register_class_DOMNode(void)
1962 {
1963 	zend_class_entry ce, *class_entry;
1964 
1965 	INIT_CLASS_ENTRY(ce, "DOMNode", class_DOMNode_methods);
1966 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
1967 
1968 	zval const_DOCUMENT_POSITION_DISCONNECTED_value;
1969 	ZVAL_LONG(&const_DOCUMENT_POSITION_DISCONNECTED_value, 0x1);
1970 	zend_string *const_DOCUMENT_POSITION_DISCONNECTED_name = zend_string_init_interned("DOCUMENT_POSITION_DISCONNECTED", sizeof("DOCUMENT_POSITION_DISCONNECTED") - 1, 1);
1971 	zend_declare_typed_class_constant(class_entry, const_DOCUMENT_POSITION_DISCONNECTED_name, &const_DOCUMENT_POSITION_DISCONNECTED_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1972 	zend_string_release(const_DOCUMENT_POSITION_DISCONNECTED_name);
1973 
1974 	zval const_DOCUMENT_POSITION_PRECEDING_value;
1975 	ZVAL_LONG(&const_DOCUMENT_POSITION_PRECEDING_value, 0x2);
1976 	zend_string *const_DOCUMENT_POSITION_PRECEDING_name = zend_string_init_interned("DOCUMENT_POSITION_PRECEDING", sizeof("DOCUMENT_POSITION_PRECEDING") - 1, 1);
1977 	zend_declare_typed_class_constant(class_entry, const_DOCUMENT_POSITION_PRECEDING_name, &const_DOCUMENT_POSITION_PRECEDING_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1978 	zend_string_release(const_DOCUMENT_POSITION_PRECEDING_name);
1979 
1980 	zval const_DOCUMENT_POSITION_FOLLOWING_value;
1981 	ZVAL_LONG(&const_DOCUMENT_POSITION_FOLLOWING_value, 0x4);
1982 	zend_string *const_DOCUMENT_POSITION_FOLLOWING_name = zend_string_init_interned("DOCUMENT_POSITION_FOLLOWING", sizeof("DOCUMENT_POSITION_FOLLOWING") - 1, 1);
1983 	zend_declare_typed_class_constant(class_entry, const_DOCUMENT_POSITION_FOLLOWING_name, &const_DOCUMENT_POSITION_FOLLOWING_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1984 	zend_string_release(const_DOCUMENT_POSITION_FOLLOWING_name);
1985 
1986 	zval const_DOCUMENT_POSITION_CONTAINS_value;
1987 	ZVAL_LONG(&const_DOCUMENT_POSITION_CONTAINS_value, 0x8);
1988 	zend_string *const_DOCUMENT_POSITION_CONTAINS_name = zend_string_init_interned("DOCUMENT_POSITION_CONTAINS", sizeof("DOCUMENT_POSITION_CONTAINS") - 1, 1);
1989 	zend_declare_typed_class_constant(class_entry, const_DOCUMENT_POSITION_CONTAINS_name, &const_DOCUMENT_POSITION_CONTAINS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1990 	zend_string_release(const_DOCUMENT_POSITION_CONTAINS_name);
1991 
1992 	zval const_DOCUMENT_POSITION_CONTAINED_BY_value;
1993 	ZVAL_LONG(&const_DOCUMENT_POSITION_CONTAINED_BY_value, 0x10);
1994 	zend_string *const_DOCUMENT_POSITION_CONTAINED_BY_name = zend_string_init_interned("DOCUMENT_POSITION_CONTAINED_BY", sizeof("DOCUMENT_POSITION_CONTAINED_BY") - 1, 1);
1995 	zend_declare_typed_class_constant(class_entry, const_DOCUMENT_POSITION_CONTAINED_BY_name, &const_DOCUMENT_POSITION_CONTAINED_BY_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1996 	zend_string_release(const_DOCUMENT_POSITION_CONTAINED_BY_name);
1997 
1998 	zval const_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC_value;
1999 	ZVAL_LONG(&const_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC_value, 0x20);
2000 	zend_string *const_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC_name = zend_string_init_interned("DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", sizeof("DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC") - 1, 1);
2001 	zend_declare_typed_class_constant(class_entry, const_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC_name, &const_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2002 	zend_string_release(const_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC_name);
2003 
2004 	zval property_nodeName_default_value;
2005 	ZVAL_UNDEF(&property_nodeName_default_value);
2006 	zend_string *property_nodeName_name = zend_string_init("nodeName", sizeof("nodeName") - 1, 1);
2007 	zend_declare_typed_property(class_entry, property_nodeName_name, &property_nodeName_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2008 	zend_string_release(property_nodeName_name);
2009 
2010 	zval property_nodeValue_default_value;
2011 	ZVAL_UNDEF(&property_nodeValue_default_value);
2012 	zend_string *property_nodeValue_name = zend_string_init("nodeValue", sizeof("nodeValue") - 1, 1);
2013 	zend_declare_typed_property(class_entry, property_nodeValue_name, &property_nodeValue_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2014 	zend_string_release(property_nodeValue_name);
2015 
2016 	zval property_nodeType_default_value;
2017 	ZVAL_UNDEF(&property_nodeType_default_value);
2018 	zend_string *property_nodeType_name = zend_string_init("nodeType", sizeof("nodeType") - 1, 1);
2019 	zend_declare_typed_property(class_entry, property_nodeType_name, &property_nodeType_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2020 	zend_string_release(property_nodeType_name);
2021 
2022 	zval property_parentNode_default_value;
2023 	ZVAL_UNDEF(&property_parentNode_default_value);
2024 	zend_string *property_parentNode_name = zend_string_init("parentNode", sizeof("parentNode") - 1, 1);
2025 	zend_string *property_parentNode_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
2026 	zend_declare_typed_property(class_entry, property_parentNode_name, &property_parentNode_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_parentNode_class_DOMNode, 0, MAY_BE_NULL));
2027 	zend_string_release(property_parentNode_name);
2028 
2029 	zval property_parentElement_default_value;
2030 	ZVAL_UNDEF(&property_parentElement_default_value);
2031 	zend_string *property_parentElement_name = zend_string_init("parentElement", sizeof("parentElement") - 1, 1);
2032 	zend_string *property_parentElement_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
2033 	zend_declare_typed_property(class_entry, property_parentElement_name, &property_parentElement_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_parentElement_class_DOMElement, 0, MAY_BE_NULL));
2034 	zend_string_release(property_parentElement_name);
2035 
2036 	zval property_childNodes_default_value;
2037 	ZVAL_UNDEF(&property_childNodes_default_value);
2038 	zend_string *property_childNodes_name = zend_string_init("childNodes", sizeof("childNodes") - 1, 1);
2039 	zend_string *property_childNodes_class_DOMNodeList = zend_string_init("DOMNodeList", sizeof("DOMNodeList")-1, 1);
2040 	zend_declare_typed_property(class_entry, property_childNodes_name, &property_childNodes_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_childNodes_class_DOMNodeList, 0, 0));
2041 	zend_string_release(property_childNodes_name);
2042 
2043 	zval property_firstChild_default_value;
2044 	ZVAL_UNDEF(&property_firstChild_default_value);
2045 	zend_string *property_firstChild_name = zend_string_init("firstChild", sizeof("firstChild") - 1, 1);
2046 	zend_string *property_firstChild_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
2047 	zend_declare_typed_property(class_entry, property_firstChild_name, &property_firstChild_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_firstChild_class_DOMNode, 0, MAY_BE_NULL));
2048 	zend_string_release(property_firstChild_name);
2049 
2050 	zval property_lastChild_default_value;
2051 	ZVAL_UNDEF(&property_lastChild_default_value);
2052 	zend_string *property_lastChild_name = zend_string_init("lastChild", sizeof("lastChild") - 1, 1);
2053 	zend_string *property_lastChild_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
2054 	zend_declare_typed_property(class_entry, property_lastChild_name, &property_lastChild_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_lastChild_class_DOMNode, 0, MAY_BE_NULL));
2055 	zend_string_release(property_lastChild_name);
2056 
2057 	zval property_previousSibling_default_value;
2058 	ZVAL_UNDEF(&property_previousSibling_default_value);
2059 	zend_string *property_previousSibling_name = zend_string_init("previousSibling", sizeof("previousSibling") - 1, 1);
2060 	zend_string *property_previousSibling_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
2061 	zend_declare_typed_property(class_entry, property_previousSibling_name, &property_previousSibling_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_previousSibling_class_DOMNode, 0, MAY_BE_NULL));
2062 	zend_string_release(property_previousSibling_name);
2063 
2064 	zval property_nextSibling_default_value;
2065 	ZVAL_UNDEF(&property_nextSibling_default_value);
2066 	zend_string *property_nextSibling_name = zend_string_init("nextSibling", sizeof("nextSibling") - 1, 1);
2067 	zend_string *property_nextSibling_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
2068 	zend_declare_typed_property(class_entry, property_nextSibling_name, &property_nextSibling_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_nextSibling_class_DOMNode, 0, MAY_BE_NULL));
2069 	zend_string_release(property_nextSibling_name);
2070 
2071 	zval property_attributes_default_value;
2072 	ZVAL_UNDEF(&property_attributes_default_value);
2073 	zend_string *property_attributes_name = zend_string_init("attributes", sizeof("attributes") - 1, 1);
2074 	zend_string *property_attributes_class_DOMNamedNodeMap = zend_string_init("DOMNamedNodeMap", sizeof("DOMNamedNodeMap")-1, 1);
2075 	zend_declare_typed_property(class_entry, property_attributes_name, &property_attributes_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_attributes_class_DOMNamedNodeMap, 0, MAY_BE_NULL));
2076 	zend_string_release(property_attributes_name);
2077 
2078 	zval property_isConnected_default_value;
2079 	ZVAL_UNDEF(&property_isConnected_default_value);
2080 	zend_string *property_isConnected_name = zend_string_init("isConnected", sizeof("isConnected") - 1, 1);
2081 	zend_declare_typed_property(class_entry, property_isConnected_name, &property_isConnected_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
2082 	zend_string_release(property_isConnected_name);
2083 
2084 	zval property_ownerDocument_default_value;
2085 	ZVAL_UNDEF(&property_ownerDocument_default_value);
2086 	zend_string *property_ownerDocument_name = zend_string_init("ownerDocument", sizeof("ownerDocument") - 1, 1);
2087 	zend_string *property_ownerDocument_class_DOMDocument = zend_string_init("DOMDocument", sizeof("DOMDocument")-1, 1);
2088 	zend_declare_typed_property(class_entry, property_ownerDocument_name, &property_ownerDocument_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_ownerDocument_class_DOMDocument, 0, MAY_BE_NULL));
2089 	zend_string_release(property_ownerDocument_name);
2090 
2091 	zval property_namespaceURI_default_value;
2092 	ZVAL_UNDEF(&property_namespaceURI_default_value);
2093 	zend_string *property_namespaceURI_name = zend_string_init("namespaceURI", sizeof("namespaceURI") - 1, 1);
2094 	zend_declare_typed_property(class_entry, property_namespaceURI_name, &property_namespaceURI_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2095 	zend_string_release(property_namespaceURI_name);
2096 
2097 	zval property_prefix_default_value;
2098 	ZVAL_UNDEF(&property_prefix_default_value);
2099 	zend_string *property_prefix_name = zend_string_init("prefix", sizeof("prefix") - 1, 1);
2100 	zend_declare_typed_property(class_entry, property_prefix_name, &property_prefix_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2101 	zend_string_release(property_prefix_name);
2102 
2103 	zval property_localName_default_value;
2104 	ZVAL_UNDEF(&property_localName_default_value);
2105 	zend_string *property_localName_name = zend_string_init("localName", sizeof("localName") - 1, 1);
2106 	zend_declare_typed_property(class_entry, property_localName_name, &property_localName_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2107 	zend_string_release(property_localName_name);
2108 
2109 	zval property_baseURI_default_value;
2110 	ZVAL_UNDEF(&property_baseURI_default_value);
2111 	zend_string *property_baseURI_name = zend_string_init("baseURI", sizeof("baseURI") - 1, 1);
2112 	zend_declare_typed_property(class_entry, property_baseURI_name, &property_baseURI_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2113 	zend_string_release(property_baseURI_name);
2114 
2115 	zval property_textContent_default_value;
2116 	ZVAL_UNDEF(&property_textContent_default_value);
2117 	zend_string *property_textContent_name = zend_string_init("textContent", sizeof("textContent") - 1, 1);
2118 	zend_declare_typed_property(class_entry, property_textContent_name, &property_textContent_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2119 	zend_string_release(property_textContent_name);
2120 
2121 	return class_entry;
2122 }
2123 
register_class_DOMNameSpaceNode(void)2124 static zend_class_entry *register_class_DOMNameSpaceNode(void)
2125 {
2126 	zend_class_entry ce, *class_entry;
2127 
2128 	INIT_CLASS_ENTRY(ce, "DOMNameSpaceNode", class_DOMNameSpaceNode_methods);
2129 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
2130 
2131 	zval property_nodeName_default_value;
2132 	ZVAL_UNDEF(&property_nodeName_default_value);
2133 	zend_string *property_nodeName_name = zend_string_init("nodeName", sizeof("nodeName") - 1, 1);
2134 	zend_declare_typed_property(class_entry, property_nodeName_name, &property_nodeName_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2135 	zend_string_release(property_nodeName_name);
2136 
2137 	zval property_nodeValue_default_value;
2138 	ZVAL_UNDEF(&property_nodeValue_default_value);
2139 	zend_string *property_nodeValue_name = zend_string_init("nodeValue", sizeof("nodeValue") - 1, 1);
2140 	zend_declare_typed_property(class_entry, property_nodeValue_name, &property_nodeValue_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2141 	zend_string_release(property_nodeValue_name);
2142 
2143 	zval property_nodeType_default_value;
2144 	ZVAL_UNDEF(&property_nodeType_default_value);
2145 	zend_string *property_nodeType_name = zend_string_init("nodeType", sizeof("nodeType") - 1, 1);
2146 	zend_declare_typed_property(class_entry, property_nodeType_name, &property_nodeType_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2147 	zend_string_release(property_nodeType_name);
2148 
2149 	zval property_prefix_default_value;
2150 	ZVAL_UNDEF(&property_prefix_default_value);
2151 	zend_string *property_prefix_name = zend_string_init("prefix", sizeof("prefix") - 1, 1);
2152 	zend_declare_typed_property(class_entry, property_prefix_name, &property_prefix_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2153 	zend_string_release(property_prefix_name);
2154 
2155 	zval property_localName_default_value;
2156 	ZVAL_UNDEF(&property_localName_default_value);
2157 	zend_string *property_localName_name = zend_string_init("localName", sizeof("localName") - 1, 1);
2158 	zend_declare_typed_property(class_entry, property_localName_name, &property_localName_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2159 	zend_string_release(property_localName_name);
2160 
2161 	zval property_namespaceURI_default_value;
2162 	ZVAL_UNDEF(&property_namespaceURI_default_value);
2163 	zend_string *property_namespaceURI_name = zend_string_init("namespaceURI", sizeof("namespaceURI") - 1, 1);
2164 	zend_declare_typed_property(class_entry, property_namespaceURI_name, &property_namespaceURI_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2165 	zend_string_release(property_namespaceURI_name);
2166 
2167 	zval property_isConnected_default_value;
2168 	ZVAL_UNDEF(&property_isConnected_default_value);
2169 	zend_string *property_isConnected_name = zend_string_init("isConnected", sizeof("isConnected") - 1, 1);
2170 	zend_declare_typed_property(class_entry, property_isConnected_name, &property_isConnected_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
2171 	zend_string_release(property_isConnected_name);
2172 
2173 	zval property_ownerDocument_default_value;
2174 	ZVAL_UNDEF(&property_ownerDocument_default_value);
2175 	zend_string *property_ownerDocument_name = zend_string_init("ownerDocument", sizeof("ownerDocument") - 1, 1);
2176 	zend_string *property_ownerDocument_class_DOMDocument = zend_string_init("DOMDocument", sizeof("DOMDocument")-1, 1);
2177 	zend_declare_typed_property(class_entry, property_ownerDocument_name, &property_ownerDocument_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_ownerDocument_class_DOMDocument, 0, MAY_BE_NULL));
2178 	zend_string_release(property_ownerDocument_name);
2179 
2180 	zval property_parentNode_default_value;
2181 	ZVAL_UNDEF(&property_parentNode_default_value);
2182 	zend_string *property_parentNode_name = zend_string_init("parentNode", sizeof("parentNode") - 1, 1);
2183 	zend_string *property_parentNode_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
2184 	zend_declare_typed_property(class_entry, property_parentNode_name, &property_parentNode_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_parentNode_class_DOMNode, 0, MAY_BE_NULL));
2185 	zend_string_release(property_parentNode_name);
2186 
2187 	zval property_parentElement_default_value;
2188 	ZVAL_UNDEF(&property_parentElement_default_value);
2189 	zend_string *property_parentElement_name = zend_string_init("parentElement", sizeof("parentElement") - 1, 1);
2190 	zend_string *property_parentElement_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
2191 	zend_declare_typed_property(class_entry, property_parentElement_name, &property_parentElement_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_parentElement_class_DOMElement, 0, MAY_BE_NULL));
2192 	zend_string_release(property_parentElement_name);
2193 
2194 	return class_entry;
2195 }
2196 
register_class_DOMImplementation(void)2197 static zend_class_entry *register_class_DOMImplementation(void)
2198 {
2199 	zend_class_entry ce, *class_entry;
2200 
2201 	INIT_CLASS_ENTRY(ce, "DOMImplementation", class_DOMImplementation_methods);
2202 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
2203 
2204 	return class_entry;
2205 }
2206 
register_class_DOMDocumentFragment(zend_class_entry * class_entry_DOMNode,zend_class_entry * class_entry_DOMParentNode)2207 static zend_class_entry *register_class_DOMDocumentFragment(zend_class_entry *class_entry_DOMNode, zend_class_entry *class_entry_DOMParentNode)
2208 {
2209 	zend_class_entry ce, *class_entry;
2210 
2211 	INIT_CLASS_ENTRY(ce, "DOMDocumentFragment", class_DOMDocumentFragment_methods);
2212 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DOMNode, 0);
2213 	zend_class_implements(class_entry, 1, class_entry_DOMParentNode);
2214 
2215 	zval property_firstElementChild_default_value;
2216 	ZVAL_UNDEF(&property_firstElementChild_default_value);
2217 	zend_string *property_firstElementChild_name = zend_string_init("firstElementChild", sizeof("firstElementChild") - 1, 1);
2218 	zend_string *property_firstElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
2219 	zend_declare_typed_property(class_entry, property_firstElementChild_name, &property_firstElementChild_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_firstElementChild_class_DOMElement, 0, MAY_BE_NULL));
2220 	zend_string_release(property_firstElementChild_name);
2221 
2222 	zval property_lastElementChild_default_value;
2223 	ZVAL_UNDEF(&property_lastElementChild_default_value);
2224 	zend_string *property_lastElementChild_name = zend_string_init("lastElementChild", sizeof("lastElementChild") - 1, 1);
2225 	zend_string *property_lastElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
2226 	zend_declare_typed_property(class_entry, property_lastElementChild_name, &property_lastElementChild_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_lastElementChild_class_DOMElement, 0, MAY_BE_NULL));
2227 	zend_string_release(property_lastElementChild_name);
2228 
2229 	zval property_childElementCount_default_value;
2230 	ZVAL_UNDEF(&property_childElementCount_default_value);
2231 	zend_string *property_childElementCount_name = zend_string_init("childElementCount", sizeof("childElementCount") - 1, 1);
2232 	zend_declare_typed_property(class_entry, property_childElementCount_name, &property_childElementCount_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2233 	zend_string_release(property_childElementCount_name);
2234 
2235 	return class_entry;
2236 }
2237 
register_class_DOMNodeList(zend_class_entry * class_entry_IteratorAggregate,zend_class_entry * class_entry_Countable)2238 static zend_class_entry *register_class_DOMNodeList(zend_class_entry *class_entry_IteratorAggregate, zend_class_entry *class_entry_Countable)
2239 {
2240 	zend_class_entry ce, *class_entry;
2241 
2242 	INIT_CLASS_ENTRY(ce, "DOMNodeList", class_DOMNodeList_methods);
2243 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
2244 	zend_class_implements(class_entry, 2, class_entry_IteratorAggregate, class_entry_Countable);
2245 
2246 	zval property_length_default_value;
2247 	ZVAL_UNDEF(&property_length_default_value);
2248 	zend_string *property_length_name = zend_string_init("length", sizeof("length") - 1, 1);
2249 	zend_declare_typed_property(class_entry, property_length_name, &property_length_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2250 	zend_string_release(property_length_name);
2251 
2252 	return class_entry;
2253 }
2254 
register_class_DOMCharacterData(zend_class_entry * class_entry_DOMNode,zend_class_entry * class_entry_DOMChildNode)2255 static zend_class_entry *register_class_DOMCharacterData(zend_class_entry *class_entry_DOMNode, zend_class_entry *class_entry_DOMChildNode)
2256 {
2257 	zend_class_entry ce, *class_entry;
2258 
2259 	INIT_CLASS_ENTRY(ce, "DOMCharacterData", class_DOMCharacterData_methods);
2260 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DOMNode, 0);
2261 	zend_class_implements(class_entry, 1, class_entry_DOMChildNode);
2262 
2263 	zval property_data_default_value;
2264 	ZVAL_UNDEF(&property_data_default_value);
2265 	zend_string *property_data_name = zend_string_init("data", sizeof("data") - 1, 1);
2266 	zend_declare_typed_property(class_entry, property_data_name, &property_data_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2267 	zend_string_release(property_data_name);
2268 
2269 	zval property_length_default_value;
2270 	ZVAL_UNDEF(&property_length_default_value);
2271 	zend_string *property_length_name = zend_string_init("length", sizeof("length") - 1, 1);
2272 	zend_declare_typed_property(class_entry, property_length_name, &property_length_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2273 	zend_string_release(property_length_name);
2274 
2275 	zval property_previousElementSibling_default_value;
2276 	ZVAL_UNDEF(&property_previousElementSibling_default_value);
2277 	zend_string *property_previousElementSibling_name = zend_string_init("previousElementSibling", sizeof("previousElementSibling") - 1, 1);
2278 	zend_string *property_previousElementSibling_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
2279 	zend_declare_typed_property(class_entry, property_previousElementSibling_name, &property_previousElementSibling_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_previousElementSibling_class_DOMElement, 0, MAY_BE_NULL));
2280 	zend_string_release(property_previousElementSibling_name);
2281 
2282 	zval property_nextElementSibling_default_value;
2283 	ZVAL_UNDEF(&property_nextElementSibling_default_value);
2284 	zend_string *property_nextElementSibling_name = zend_string_init("nextElementSibling", sizeof("nextElementSibling") - 1, 1);
2285 	zend_string *property_nextElementSibling_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
2286 	zend_declare_typed_property(class_entry, property_nextElementSibling_name, &property_nextElementSibling_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_nextElementSibling_class_DOMElement, 0, MAY_BE_NULL));
2287 	zend_string_release(property_nextElementSibling_name);
2288 
2289 	return class_entry;
2290 }
2291 
register_class_DOMAttr(zend_class_entry * class_entry_DOMNode)2292 static zend_class_entry *register_class_DOMAttr(zend_class_entry *class_entry_DOMNode)
2293 {
2294 	zend_class_entry ce, *class_entry;
2295 
2296 	INIT_CLASS_ENTRY(ce, "DOMAttr", class_DOMAttr_methods);
2297 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DOMNode, 0);
2298 
2299 	zval property_name_default_value;
2300 	ZVAL_UNDEF(&property_name_default_value);
2301 	zend_declare_typed_property(class_entry, ZSTR_KNOWN(ZEND_STR_NAME), &property_name_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2302 
2303 	zval property_specified_default_value;
2304 	ZVAL_UNDEF(&property_specified_default_value);
2305 	zend_string *property_specified_name = zend_string_init("specified", sizeof("specified") - 1, 1);
2306 	zend_declare_typed_property(class_entry, property_specified_name, &property_specified_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
2307 	zend_string_release(property_specified_name);
2308 
2309 	zval property_value_default_value;
2310 	ZVAL_UNDEF(&property_value_default_value);
2311 	zend_declare_typed_property(class_entry, ZSTR_KNOWN(ZEND_STR_VALUE), &property_value_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2312 
2313 	zval property_ownerElement_default_value;
2314 	ZVAL_UNDEF(&property_ownerElement_default_value);
2315 	zend_string *property_ownerElement_name = zend_string_init("ownerElement", sizeof("ownerElement") - 1, 1);
2316 	zend_string *property_ownerElement_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
2317 	zend_declare_typed_property(class_entry, property_ownerElement_name, &property_ownerElement_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_ownerElement_class_DOMElement, 0, MAY_BE_NULL));
2318 	zend_string_release(property_ownerElement_name);
2319 
2320 	zval property_schemaTypeInfo_default_value;
2321 	ZVAL_UNDEF(&property_schemaTypeInfo_default_value);
2322 	zend_string *property_schemaTypeInfo_name = zend_string_init("schemaTypeInfo", sizeof("schemaTypeInfo") - 1, 1);
2323 	zend_declare_typed_property(class_entry, property_schemaTypeInfo_name, &property_schemaTypeInfo_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY));
2324 	zend_string_release(property_schemaTypeInfo_name);
2325 
2326 	return class_entry;
2327 }
2328 
register_class_DOMElement(zend_class_entry * class_entry_DOMNode,zend_class_entry * class_entry_DOMParentNode,zend_class_entry * class_entry_DOMChildNode)2329 static zend_class_entry *register_class_DOMElement(zend_class_entry *class_entry_DOMNode, zend_class_entry *class_entry_DOMParentNode, zend_class_entry *class_entry_DOMChildNode)
2330 {
2331 	zend_class_entry ce, *class_entry;
2332 
2333 	INIT_CLASS_ENTRY(ce, "DOMElement", class_DOMElement_methods);
2334 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DOMNode, 0);
2335 	zend_class_implements(class_entry, 2, class_entry_DOMParentNode, class_entry_DOMChildNode);
2336 
2337 	zval property_tagName_default_value;
2338 	ZVAL_UNDEF(&property_tagName_default_value);
2339 	zend_string *property_tagName_name = zend_string_init("tagName", sizeof("tagName") - 1, 1);
2340 	zend_declare_typed_property(class_entry, property_tagName_name, &property_tagName_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2341 	zend_string_release(property_tagName_name);
2342 
2343 	zval property_className_default_value;
2344 	ZVAL_UNDEF(&property_className_default_value);
2345 	zend_string *property_className_name = zend_string_init("className", sizeof("className") - 1, 1);
2346 	zend_declare_typed_property(class_entry, property_className_name, &property_className_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2347 	zend_string_release(property_className_name);
2348 
2349 	zval property_id_default_value;
2350 	ZVAL_UNDEF(&property_id_default_value);
2351 	zend_string *property_id_name = zend_string_init("id", sizeof("id") - 1, 1);
2352 	zend_declare_typed_property(class_entry, property_id_name, &property_id_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2353 	zend_string_release(property_id_name);
2354 
2355 	zval property_schemaTypeInfo_default_value;
2356 	ZVAL_UNDEF(&property_schemaTypeInfo_default_value);
2357 	zend_string *property_schemaTypeInfo_name = zend_string_init("schemaTypeInfo", sizeof("schemaTypeInfo") - 1, 1);
2358 	zend_declare_typed_property(class_entry, property_schemaTypeInfo_name, &property_schemaTypeInfo_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY));
2359 	zend_string_release(property_schemaTypeInfo_name);
2360 
2361 	zval property_firstElementChild_default_value;
2362 	ZVAL_UNDEF(&property_firstElementChild_default_value);
2363 	zend_string *property_firstElementChild_name = zend_string_init("firstElementChild", sizeof("firstElementChild") - 1, 1);
2364 	zend_string *property_firstElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
2365 	zend_declare_typed_property(class_entry, property_firstElementChild_name, &property_firstElementChild_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_firstElementChild_class_DOMElement, 0, MAY_BE_NULL));
2366 	zend_string_release(property_firstElementChild_name);
2367 
2368 	zval property_lastElementChild_default_value;
2369 	ZVAL_UNDEF(&property_lastElementChild_default_value);
2370 	zend_string *property_lastElementChild_name = zend_string_init("lastElementChild", sizeof("lastElementChild") - 1, 1);
2371 	zend_string *property_lastElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
2372 	zend_declare_typed_property(class_entry, property_lastElementChild_name, &property_lastElementChild_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_lastElementChild_class_DOMElement, 0, MAY_BE_NULL));
2373 	zend_string_release(property_lastElementChild_name);
2374 
2375 	zval property_childElementCount_default_value;
2376 	ZVAL_UNDEF(&property_childElementCount_default_value);
2377 	zend_string *property_childElementCount_name = zend_string_init("childElementCount", sizeof("childElementCount") - 1, 1);
2378 	zend_declare_typed_property(class_entry, property_childElementCount_name, &property_childElementCount_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2379 	zend_string_release(property_childElementCount_name);
2380 
2381 	zval property_previousElementSibling_default_value;
2382 	ZVAL_UNDEF(&property_previousElementSibling_default_value);
2383 	zend_string *property_previousElementSibling_name = zend_string_init("previousElementSibling", sizeof("previousElementSibling") - 1, 1);
2384 	zend_string *property_previousElementSibling_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
2385 	zend_declare_typed_property(class_entry, property_previousElementSibling_name, &property_previousElementSibling_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_previousElementSibling_class_DOMElement, 0, MAY_BE_NULL));
2386 	zend_string_release(property_previousElementSibling_name);
2387 
2388 	zval property_nextElementSibling_default_value;
2389 	ZVAL_UNDEF(&property_nextElementSibling_default_value);
2390 	zend_string *property_nextElementSibling_name = zend_string_init("nextElementSibling", sizeof("nextElementSibling") - 1, 1);
2391 	zend_string *property_nextElementSibling_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
2392 	zend_declare_typed_property(class_entry, property_nextElementSibling_name, &property_nextElementSibling_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_nextElementSibling_class_DOMElement, 0, MAY_BE_NULL));
2393 	zend_string_release(property_nextElementSibling_name);
2394 
2395 	return class_entry;
2396 }
2397 
register_class_DOMDocument(zend_class_entry * class_entry_DOMNode,zend_class_entry * class_entry_DOMParentNode)2398 static zend_class_entry *register_class_DOMDocument(zend_class_entry *class_entry_DOMNode, zend_class_entry *class_entry_DOMParentNode)
2399 {
2400 	zend_class_entry ce, *class_entry;
2401 
2402 	INIT_CLASS_ENTRY(ce, "DOMDocument", class_DOMDocument_methods);
2403 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DOMNode, 0);
2404 	zend_class_implements(class_entry, 1, class_entry_DOMParentNode);
2405 
2406 	zval property_doctype_default_value;
2407 	ZVAL_UNDEF(&property_doctype_default_value);
2408 	zend_string *property_doctype_name = zend_string_init("doctype", sizeof("doctype") - 1, 1);
2409 	zend_string *property_doctype_class_DOMDocumentType = zend_string_init("DOMDocumentType", sizeof("DOMDocumentType")-1, 1);
2410 	zend_declare_typed_property(class_entry, property_doctype_name, &property_doctype_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_doctype_class_DOMDocumentType, 0, MAY_BE_NULL));
2411 	zend_string_release(property_doctype_name);
2412 
2413 	zval property_implementation_default_value;
2414 	ZVAL_UNDEF(&property_implementation_default_value);
2415 	zend_string *property_implementation_name = zend_string_init("implementation", sizeof("implementation") - 1, 1);
2416 	zend_string *property_implementation_class_DOMImplementation = zend_string_init("DOMImplementation", sizeof("DOMImplementation")-1, 1);
2417 	zend_declare_typed_property(class_entry, property_implementation_name, &property_implementation_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_implementation_class_DOMImplementation, 0, 0));
2418 	zend_string_release(property_implementation_name);
2419 
2420 	zval property_documentElement_default_value;
2421 	ZVAL_UNDEF(&property_documentElement_default_value);
2422 	zend_string *property_documentElement_name = zend_string_init("documentElement", sizeof("documentElement") - 1, 1);
2423 	zend_string *property_documentElement_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
2424 	zend_declare_typed_property(class_entry, property_documentElement_name, &property_documentElement_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_documentElement_class_DOMElement, 0, MAY_BE_NULL));
2425 	zend_string_release(property_documentElement_name);
2426 
2427 	zval property_actualEncoding_default_value;
2428 	ZVAL_UNDEF(&property_actualEncoding_default_value);
2429 	zend_string *property_actualEncoding_name = zend_string_init("actualEncoding", sizeof("actualEncoding") - 1, 1);
2430 	zend_declare_typed_property(class_entry, property_actualEncoding_name, &property_actualEncoding_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2431 	zend_string_release(property_actualEncoding_name);
2432 
2433 	zval property_encoding_default_value;
2434 	ZVAL_UNDEF(&property_encoding_default_value);
2435 	zend_string *property_encoding_name = zend_string_init("encoding", sizeof("encoding") - 1, 1);
2436 	zend_declare_typed_property(class_entry, property_encoding_name, &property_encoding_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2437 	zend_string_release(property_encoding_name);
2438 
2439 	zval property_xmlEncoding_default_value;
2440 	ZVAL_UNDEF(&property_xmlEncoding_default_value);
2441 	zend_string *property_xmlEncoding_name = zend_string_init("xmlEncoding", sizeof("xmlEncoding") - 1, 1);
2442 	zend_declare_typed_property(class_entry, property_xmlEncoding_name, &property_xmlEncoding_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2443 	zend_string_release(property_xmlEncoding_name);
2444 
2445 	zval property_standalone_default_value;
2446 	ZVAL_UNDEF(&property_standalone_default_value);
2447 	zend_string *property_standalone_name = zend_string_init("standalone", sizeof("standalone") - 1, 1);
2448 	zend_declare_typed_property(class_entry, property_standalone_name, &property_standalone_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
2449 	zend_string_release(property_standalone_name);
2450 
2451 	zval property_xmlStandalone_default_value;
2452 	ZVAL_UNDEF(&property_xmlStandalone_default_value);
2453 	zend_string *property_xmlStandalone_name = zend_string_init("xmlStandalone", sizeof("xmlStandalone") - 1, 1);
2454 	zend_declare_typed_property(class_entry, property_xmlStandalone_name, &property_xmlStandalone_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
2455 	zend_string_release(property_xmlStandalone_name);
2456 
2457 	zval property_version_default_value;
2458 	ZVAL_UNDEF(&property_version_default_value);
2459 	zend_string *property_version_name = zend_string_init("version", sizeof("version") - 1, 1);
2460 	zend_declare_typed_property(class_entry, property_version_name, &property_version_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2461 	zend_string_release(property_version_name);
2462 
2463 	zval property_xmlVersion_default_value;
2464 	ZVAL_UNDEF(&property_xmlVersion_default_value);
2465 	zend_string *property_xmlVersion_name = zend_string_init("xmlVersion", sizeof("xmlVersion") - 1, 1);
2466 	zend_declare_typed_property(class_entry, property_xmlVersion_name, &property_xmlVersion_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2467 	zend_string_release(property_xmlVersion_name);
2468 
2469 	zval property_strictErrorChecking_default_value;
2470 	ZVAL_UNDEF(&property_strictErrorChecking_default_value);
2471 	zend_string *property_strictErrorChecking_name = zend_string_init("strictErrorChecking", sizeof("strictErrorChecking") - 1, 1);
2472 	zend_declare_typed_property(class_entry, property_strictErrorChecking_name, &property_strictErrorChecking_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
2473 	zend_string_release(property_strictErrorChecking_name);
2474 
2475 	zval property_documentURI_default_value;
2476 	ZVAL_UNDEF(&property_documentURI_default_value);
2477 	zend_string *property_documentURI_name = zend_string_init("documentURI", sizeof("documentURI") - 1, 1);
2478 	zend_declare_typed_property(class_entry, property_documentURI_name, &property_documentURI_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2479 	zend_string_release(property_documentURI_name);
2480 
2481 	zval property_config_default_value;
2482 	ZVAL_UNDEF(&property_config_default_value);
2483 	zend_string *property_config_name = zend_string_init("config", sizeof("config") - 1, 1);
2484 	zend_declare_typed_property(class_entry, property_config_name, &property_config_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY));
2485 	zend_string_release(property_config_name);
2486 
2487 	zval property_formatOutput_default_value;
2488 	ZVAL_UNDEF(&property_formatOutput_default_value);
2489 	zend_string *property_formatOutput_name = zend_string_init("formatOutput", sizeof("formatOutput") - 1, 1);
2490 	zend_declare_typed_property(class_entry, property_formatOutput_name, &property_formatOutput_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
2491 	zend_string_release(property_formatOutput_name);
2492 
2493 	zval property_validateOnParse_default_value;
2494 	ZVAL_UNDEF(&property_validateOnParse_default_value);
2495 	zend_string *property_validateOnParse_name = zend_string_init("validateOnParse", sizeof("validateOnParse") - 1, 1);
2496 	zend_declare_typed_property(class_entry, property_validateOnParse_name, &property_validateOnParse_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
2497 	zend_string_release(property_validateOnParse_name);
2498 
2499 	zval property_resolveExternals_default_value;
2500 	ZVAL_UNDEF(&property_resolveExternals_default_value);
2501 	zend_string *property_resolveExternals_name = zend_string_init("resolveExternals", sizeof("resolveExternals") - 1, 1);
2502 	zend_declare_typed_property(class_entry, property_resolveExternals_name, &property_resolveExternals_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
2503 	zend_string_release(property_resolveExternals_name);
2504 
2505 	zval property_preserveWhiteSpace_default_value;
2506 	ZVAL_UNDEF(&property_preserveWhiteSpace_default_value);
2507 	zend_string *property_preserveWhiteSpace_name = zend_string_init("preserveWhiteSpace", sizeof("preserveWhiteSpace") - 1, 1);
2508 	zend_declare_typed_property(class_entry, property_preserveWhiteSpace_name, &property_preserveWhiteSpace_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
2509 	zend_string_release(property_preserveWhiteSpace_name);
2510 
2511 	zval property_recover_default_value;
2512 	ZVAL_UNDEF(&property_recover_default_value);
2513 	zend_string *property_recover_name = zend_string_init("recover", sizeof("recover") - 1, 1);
2514 	zend_declare_typed_property(class_entry, property_recover_name, &property_recover_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
2515 	zend_string_release(property_recover_name);
2516 
2517 	zval property_substituteEntities_default_value;
2518 	ZVAL_UNDEF(&property_substituteEntities_default_value);
2519 	zend_string *property_substituteEntities_name = zend_string_init("substituteEntities", sizeof("substituteEntities") - 1, 1);
2520 	zend_declare_typed_property(class_entry, property_substituteEntities_name, &property_substituteEntities_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
2521 	zend_string_release(property_substituteEntities_name);
2522 
2523 	zval property_firstElementChild_default_value;
2524 	ZVAL_UNDEF(&property_firstElementChild_default_value);
2525 	zend_string *property_firstElementChild_name = zend_string_init("firstElementChild", sizeof("firstElementChild") - 1, 1);
2526 	zend_string *property_firstElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
2527 	zend_declare_typed_property(class_entry, property_firstElementChild_name, &property_firstElementChild_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_firstElementChild_class_DOMElement, 0, MAY_BE_NULL));
2528 	zend_string_release(property_firstElementChild_name);
2529 
2530 	zval property_lastElementChild_default_value;
2531 	ZVAL_UNDEF(&property_lastElementChild_default_value);
2532 	zend_string *property_lastElementChild_name = zend_string_init("lastElementChild", sizeof("lastElementChild") - 1, 1);
2533 	zend_string *property_lastElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
2534 	zend_declare_typed_property(class_entry, property_lastElementChild_name, &property_lastElementChild_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_lastElementChild_class_DOMElement, 0, MAY_BE_NULL));
2535 	zend_string_release(property_lastElementChild_name);
2536 
2537 	zval property_childElementCount_default_value;
2538 	ZVAL_UNDEF(&property_childElementCount_default_value);
2539 	zend_string *property_childElementCount_name = zend_string_init("childElementCount", sizeof("childElementCount") - 1, 1);
2540 	zend_declare_typed_property(class_entry, property_childElementCount_name, &property_childElementCount_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2541 	zend_string_release(property_childElementCount_name);
2542 
2543 	return class_entry;
2544 }
2545 
register_class_DOMException(zend_class_entry * class_entry_Exception)2546 static zend_class_entry *register_class_DOMException(zend_class_entry *class_entry_Exception)
2547 {
2548 	zend_class_entry ce, *class_entry;
2549 
2550 	INIT_CLASS_ENTRY(ce, "DOMException", NULL);
2551 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Exception, ZEND_ACC_FINAL);
2552 	zend_register_class_alias("Dom\\DOMException", class_entry);
2553 
2554 	zval property_code_default_value;
2555 	ZVAL_LONG(&property_code_default_value, 0);
2556 	zend_declare_typed_property(class_entry, ZSTR_KNOWN(ZEND_STR_CODE), &property_code_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_NONE(0));
2557 
2558 	return class_entry;
2559 }
2560 
register_class_DOMText(zend_class_entry * class_entry_DOMCharacterData)2561 static zend_class_entry *register_class_DOMText(zend_class_entry *class_entry_DOMCharacterData)
2562 {
2563 	zend_class_entry ce, *class_entry;
2564 
2565 	INIT_CLASS_ENTRY(ce, "DOMText", class_DOMText_methods);
2566 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DOMCharacterData, 0);
2567 
2568 	zval property_wholeText_default_value;
2569 	ZVAL_UNDEF(&property_wholeText_default_value);
2570 	zend_string *property_wholeText_name = zend_string_init("wholeText", sizeof("wholeText") - 1, 1);
2571 	zend_declare_typed_property(class_entry, property_wholeText_name, &property_wholeText_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2572 	zend_string_release(property_wholeText_name);
2573 
2574 	return class_entry;
2575 }
2576 
register_class_DOMNamedNodeMap(zend_class_entry * class_entry_IteratorAggregate,zend_class_entry * class_entry_Countable)2577 static zend_class_entry *register_class_DOMNamedNodeMap(zend_class_entry *class_entry_IteratorAggregate, zend_class_entry *class_entry_Countable)
2578 {
2579 	zend_class_entry ce, *class_entry;
2580 
2581 	INIT_CLASS_ENTRY(ce, "DOMNamedNodeMap", class_DOMNamedNodeMap_methods);
2582 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
2583 	zend_class_implements(class_entry, 2, class_entry_IteratorAggregate, class_entry_Countable);
2584 
2585 	zval property_length_default_value;
2586 	ZVAL_UNDEF(&property_length_default_value);
2587 	zend_string *property_length_name = zend_string_init("length", sizeof("length") - 1, 1);
2588 	zend_declare_typed_property(class_entry, property_length_name, &property_length_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2589 	zend_string_release(property_length_name);
2590 
2591 	return class_entry;
2592 }
2593 
register_class_DOMEntity(zend_class_entry * class_entry_DOMNode)2594 static zend_class_entry *register_class_DOMEntity(zend_class_entry *class_entry_DOMNode)
2595 {
2596 	zend_class_entry ce, *class_entry;
2597 
2598 	INIT_CLASS_ENTRY(ce, "DOMEntity", NULL);
2599 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DOMNode, 0);
2600 
2601 	zval property_publicId_default_value;
2602 	ZVAL_UNDEF(&property_publicId_default_value);
2603 	zend_string *property_publicId_name = zend_string_init("publicId", sizeof("publicId") - 1, 1);
2604 	zend_declare_typed_property(class_entry, property_publicId_name, &property_publicId_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2605 	zend_string_release(property_publicId_name);
2606 
2607 	zval property_systemId_default_value;
2608 	ZVAL_UNDEF(&property_systemId_default_value);
2609 	zend_string *property_systemId_name = zend_string_init("systemId", sizeof("systemId") - 1, 1);
2610 	zend_declare_typed_property(class_entry, property_systemId_name, &property_systemId_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2611 	zend_string_release(property_systemId_name);
2612 
2613 	zval property_notationName_default_value;
2614 	ZVAL_UNDEF(&property_notationName_default_value);
2615 	zend_string *property_notationName_name = zend_string_init("notationName", sizeof("notationName") - 1, 1);
2616 	zend_declare_typed_property(class_entry, property_notationName_name, &property_notationName_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2617 	zend_string_release(property_notationName_name);
2618 
2619 	zval property_actualEncoding_default_value;
2620 	ZVAL_UNDEF(&property_actualEncoding_default_value);
2621 	zend_string *property_actualEncoding_name = zend_string_init("actualEncoding", sizeof("actualEncoding") - 1, 1);
2622 	zend_declare_typed_property(class_entry, property_actualEncoding_name, &property_actualEncoding_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2623 	zend_string_release(property_actualEncoding_name);
2624 
2625 	zval property_encoding_default_value;
2626 	ZVAL_UNDEF(&property_encoding_default_value);
2627 	zend_string *property_encoding_name = zend_string_init("encoding", sizeof("encoding") - 1, 1);
2628 	zend_declare_typed_property(class_entry, property_encoding_name, &property_encoding_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2629 	zend_string_release(property_encoding_name);
2630 
2631 	zval property_version_default_value;
2632 	ZVAL_UNDEF(&property_version_default_value);
2633 	zend_string *property_version_name = zend_string_init("version", sizeof("version") - 1, 1);
2634 	zend_declare_typed_property(class_entry, property_version_name, &property_version_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2635 	zend_string_release(property_version_name);
2636 
2637 	return class_entry;
2638 }
2639 
register_class_DOMEntityReference(zend_class_entry * class_entry_DOMNode)2640 static zend_class_entry *register_class_DOMEntityReference(zend_class_entry *class_entry_DOMNode)
2641 {
2642 	zend_class_entry ce, *class_entry;
2643 
2644 	INIT_CLASS_ENTRY(ce, "DOMEntityReference", class_DOMEntityReference_methods);
2645 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DOMNode, 0);
2646 
2647 	return class_entry;
2648 }
2649 
register_class_DOMNotation(zend_class_entry * class_entry_DOMNode)2650 static zend_class_entry *register_class_DOMNotation(zend_class_entry *class_entry_DOMNode)
2651 {
2652 	zend_class_entry ce, *class_entry;
2653 
2654 	INIT_CLASS_ENTRY(ce, "DOMNotation", NULL);
2655 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DOMNode, 0);
2656 
2657 	zval property_publicId_default_value;
2658 	ZVAL_UNDEF(&property_publicId_default_value);
2659 	zend_string *property_publicId_name = zend_string_init("publicId", sizeof("publicId") - 1, 1);
2660 	zend_declare_typed_property(class_entry, property_publicId_name, &property_publicId_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2661 	zend_string_release(property_publicId_name);
2662 
2663 	zval property_systemId_default_value;
2664 	ZVAL_UNDEF(&property_systemId_default_value);
2665 	zend_string *property_systemId_name = zend_string_init("systemId", sizeof("systemId") - 1, 1);
2666 	zend_declare_typed_property(class_entry, property_systemId_name, &property_systemId_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2667 	zend_string_release(property_systemId_name);
2668 
2669 	return class_entry;
2670 }
2671 
register_class_DOMProcessingInstruction(zend_class_entry * class_entry_DOMNode)2672 static zend_class_entry *register_class_DOMProcessingInstruction(zend_class_entry *class_entry_DOMNode)
2673 {
2674 	zend_class_entry ce, *class_entry;
2675 
2676 	INIT_CLASS_ENTRY(ce, "DOMProcessingInstruction", class_DOMProcessingInstruction_methods);
2677 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_DOMNode, 0);
2678 
2679 	zval property_target_default_value;
2680 	ZVAL_UNDEF(&property_target_default_value);
2681 	zend_string *property_target_name = zend_string_init("target", sizeof("target") - 1, 1);
2682 	zend_declare_typed_property(class_entry, property_target_name, &property_target_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2683 	zend_string_release(property_target_name);
2684 
2685 	zval property_data_default_value;
2686 	ZVAL_UNDEF(&property_data_default_value);
2687 	zend_string *property_data_name = zend_string_init("data", sizeof("data") - 1, 1);
2688 	zend_declare_typed_property(class_entry, property_data_name, &property_data_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2689 	zend_string_release(property_data_name);
2690 
2691 	return class_entry;
2692 }
2693 
2694 #if defined(LIBXML_XPATH_ENABLED)
register_class_DOMXPath(void)2695 static zend_class_entry *register_class_DOMXPath(void)
2696 {
2697 	zend_class_entry ce, *class_entry;
2698 
2699 	INIT_CLASS_ENTRY(ce, "DOMXPath", class_DOMXPath_methods);
2700 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_NOT_SERIALIZABLE);
2701 
2702 	zval property_document_default_value;
2703 	ZVAL_UNDEF(&property_document_default_value);
2704 	zend_string *property_document_name = zend_string_init("document", sizeof("document") - 1, 1);
2705 	zend_string *property_document_class_DOMDocument = zend_string_init("DOMDocument", sizeof("DOMDocument")-1, 1);
2706 	zend_declare_typed_property(class_entry, property_document_name, &property_document_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_document_class_DOMDocument, 0, 0));
2707 	zend_string_release(property_document_name);
2708 
2709 	zval property_registerNodeNamespaces_default_value;
2710 	ZVAL_UNDEF(&property_registerNodeNamespaces_default_value);
2711 	zend_string *property_registerNodeNamespaces_name = zend_string_init("registerNodeNamespaces", sizeof("registerNodeNamespaces") - 1, 1);
2712 	zend_declare_typed_property(class_entry, property_registerNodeNamespaces_name, &property_registerNodeNamespaces_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
2713 	zend_string_release(property_registerNodeNamespaces_name);
2714 
2715 	return class_entry;
2716 }
2717 #endif
2718 
register_class_Dom_ParentNode(void)2719 static zend_class_entry *register_class_Dom_ParentNode(void)
2720 {
2721 	zend_class_entry ce, *class_entry;
2722 
2723 	INIT_NS_CLASS_ENTRY(ce, "Dom", "ParentNode", class_Dom_ParentNode_methods);
2724 	class_entry = zend_register_internal_interface(&ce);
2725 
2726 	return class_entry;
2727 }
2728 
register_class_Dom_ChildNode(void)2729 static zend_class_entry *register_class_Dom_ChildNode(void)
2730 {
2731 	zend_class_entry ce, *class_entry;
2732 
2733 	INIT_NS_CLASS_ENTRY(ce, "Dom", "ChildNode", class_Dom_ChildNode_methods);
2734 	class_entry = zend_register_internal_interface(&ce);
2735 
2736 	return class_entry;
2737 }
2738 
register_class_Dom_Implementation(void)2739 static zend_class_entry *register_class_Dom_Implementation(void)
2740 {
2741 	zend_class_entry ce, *class_entry;
2742 
2743 	INIT_NS_CLASS_ENTRY(ce, "Dom", "Implementation", class_Dom_Implementation_methods);
2744 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE);
2745 
2746 	return class_entry;
2747 }
2748 
register_class_Dom_Node(void)2749 static zend_class_entry *register_class_Dom_Node(void)
2750 {
2751 	zend_class_entry ce, *class_entry;
2752 
2753 	INIT_NS_CLASS_ENTRY(ce, "Dom", "Node", class_Dom_Node_methods);
2754 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_NO_DYNAMIC_PROPERTIES);
2755 
2756 	zval const_DOCUMENT_POSITION_DISCONNECTED_value;
2757 	ZVAL_LONG(&const_DOCUMENT_POSITION_DISCONNECTED_value, 0x1);
2758 	zend_string *const_DOCUMENT_POSITION_DISCONNECTED_name = zend_string_init_interned("DOCUMENT_POSITION_DISCONNECTED", sizeof("DOCUMENT_POSITION_DISCONNECTED") - 1, 1);
2759 	zend_declare_typed_class_constant(class_entry, const_DOCUMENT_POSITION_DISCONNECTED_name, &const_DOCUMENT_POSITION_DISCONNECTED_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2760 	zend_string_release(const_DOCUMENT_POSITION_DISCONNECTED_name);
2761 
2762 	zval const_DOCUMENT_POSITION_PRECEDING_value;
2763 	ZVAL_LONG(&const_DOCUMENT_POSITION_PRECEDING_value, 0x2);
2764 	zend_string *const_DOCUMENT_POSITION_PRECEDING_name = zend_string_init_interned("DOCUMENT_POSITION_PRECEDING", sizeof("DOCUMENT_POSITION_PRECEDING") - 1, 1);
2765 	zend_declare_typed_class_constant(class_entry, const_DOCUMENT_POSITION_PRECEDING_name, &const_DOCUMENT_POSITION_PRECEDING_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2766 	zend_string_release(const_DOCUMENT_POSITION_PRECEDING_name);
2767 
2768 	zval const_DOCUMENT_POSITION_FOLLOWING_value;
2769 	ZVAL_LONG(&const_DOCUMENT_POSITION_FOLLOWING_value, 0x4);
2770 	zend_string *const_DOCUMENT_POSITION_FOLLOWING_name = zend_string_init_interned("DOCUMENT_POSITION_FOLLOWING", sizeof("DOCUMENT_POSITION_FOLLOWING") - 1, 1);
2771 	zend_declare_typed_class_constant(class_entry, const_DOCUMENT_POSITION_FOLLOWING_name, &const_DOCUMENT_POSITION_FOLLOWING_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2772 	zend_string_release(const_DOCUMENT_POSITION_FOLLOWING_name);
2773 
2774 	zval const_DOCUMENT_POSITION_CONTAINS_value;
2775 	ZVAL_LONG(&const_DOCUMENT_POSITION_CONTAINS_value, 0x8);
2776 	zend_string *const_DOCUMENT_POSITION_CONTAINS_name = zend_string_init_interned("DOCUMENT_POSITION_CONTAINS", sizeof("DOCUMENT_POSITION_CONTAINS") - 1, 1);
2777 	zend_declare_typed_class_constant(class_entry, const_DOCUMENT_POSITION_CONTAINS_name, &const_DOCUMENT_POSITION_CONTAINS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2778 	zend_string_release(const_DOCUMENT_POSITION_CONTAINS_name);
2779 
2780 	zval const_DOCUMENT_POSITION_CONTAINED_BY_value;
2781 	ZVAL_LONG(&const_DOCUMENT_POSITION_CONTAINED_BY_value, 0x10);
2782 	zend_string *const_DOCUMENT_POSITION_CONTAINED_BY_name = zend_string_init_interned("DOCUMENT_POSITION_CONTAINED_BY", sizeof("DOCUMENT_POSITION_CONTAINED_BY") - 1, 1);
2783 	zend_declare_typed_class_constant(class_entry, const_DOCUMENT_POSITION_CONTAINED_BY_name, &const_DOCUMENT_POSITION_CONTAINED_BY_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2784 	zend_string_release(const_DOCUMENT_POSITION_CONTAINED_BY_name);
2785 
2786 	zval const_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC_value;
2787 	ZVAL_LONG(&const_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC_value, 0x20);
2788 	zend_string *const_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC_name = zend_string_init_interned("DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", sizeof("DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC") - 1, 1);
2789 	zend_declare_typed_class_constant(class_entry, const_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC_name, &const_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2790 	zend_string_release(const_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC_name);
2791 
2792 	zval property_nodeType_default_value;
2793 	ZVAL_UNDEF(&property_nodeType_default_value);
2794 	zend_string *property_nodeType_name = zend_string_init("nodeType", sizeof("nodeType") - 1, 1);
2795 	zend_declare_typed_property(class_entry, property_nodeType_name, &property_nodeType_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2796 	zend_string_release(property_nodeType_name);
2797 
2798 	zval property_nodeName_default_value;
2799 	ZVAL_UNDEF(&property_nodeName_default_value);
2800 	zend_string *property_nodeName_name = zend_string_init("nodeName", sizeof("nodeName") - 1, 1);
2801 	zend_declare_typed_property(class_entry, property_nodeName_name, &property_nodeName_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2802 	zend_string_release(property_nodeName_name);
2803 
2804 	zval property_baseURI_default_value;
2805 	ZVAL_UNDEF(&property_baseURI_default_value);
2806 	zend_string *property_baseURI_name = zend_string_init("baseURI", sizeof("baseURI") - 1, 1);
2807 	zend_declare_typed_property(class_entry, property_baseURI_name, &property_baseURI_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
2808 	zend_string_release(property_baseURI_name);
2809 
2810 	zval property_isConnected_default_value;
2811 	ZVAL_UNDEF(&property_isConnected_default_value);
2812 	zend_string *property_isConnected_name = zend_string_init("isConnected", sizeof("isConnected") - 1, 1);
2813 	zend_declare_typed_property(class_entry, property_isConnected_name, &property_isConnected_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
2814 	zend_string_release(property_isConnected_name);
2815 
2816 	zval property_ownerDocument_default_value;
2817 	ZVAL_UNDEF(&property_ownerDocument_default_value);
2818 	zend_string *property_ownerDocument_name = zend_string_init("ownerDocument", sizeof("ownerDocument") - 1, 1);
2819 	zend_string *property_ownerDocument_class_Dom_Document = zend_string_init("Dom\\Document", sizeof("Dom\\Document")-1, 1);
2820 	zend_declare_typed_property(class_entry, property_ownerDocument_name, &property_ownerDocument_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_ownerDocument_class_Dom_Document, 0, MAY_BE_NULL));
2821 	zend_string_release(property_ownerDocument_name);
2822 
2823 	zval property_parentNode_default_value;
2824 	ZVAL_UNDEF(&property_parentNode_default_value);
2825 	zend_string *property_parentNode_name = zend_string_init("parentNode", sizeof("parentNode") - 1, 1);
2826 	zend_string *property_parentNode_class_Dom_Node = zend_string_init("Dom\\\116ode", sizeof("Dom\\\116ode")-1, 1);
2827 	zend_declare_typed_property(class_entry, property_parentNode_name, &property_parentNode_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_parentNode_class_Dom_Node, 0, MAY_BE_NULL));
2828 	zend_string_release(property_parentNode_name);
2829 
2830 	zval property_parentElement_default_value;
2831 	ZVAL_UNDEF(&property_parentElement_default_value);
2832 	zend_string *property_parentElement_name = zend_string_init("parentElement", sizeof("parentElement") - 1, 1);
2833 	zend_string *property_parentElement_class_Dom_Element = zend_string_init("Dom\\Element", sizeof("Dom\\Element")-1, 1);
2834 	zend_declare_typed_property(class_entry, property_parentElement_name, &property_parentElement_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_parentElement_class_Dom_Element, 0, MAY_BE_NULL));
2835 	zend_string_release(property_parentElement_name);
2836 
2837 	zval property_childNodes_default_value;
2838 	ZVAL_UNDEF(&property_childNodes_default_value);
2839 	zend_string *property_childNodes_name = zend_string_init("childNodes", sizeof("childNodes") - 1, 1);
2840 	zend_string *property_childNodes_class_Dom_NodeList = zend_string_init("Dom\\\116odeList", sizeof("Dom\\\116odeList")-1, 1);
2841 	zend_declare_typed_property(class_entry, property_childNodes_name, &property_childNodes_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_childNodes_class_Dom_NodeList, 0, 0));
2842 	zend_string_release(property_childNodes_name);
2843 
2844 	zval property_firstChild_default_value;
2845 	ZVAL_UNDEF(&property_firstChild_default_value);
2846 	zend_string *property_firstChild_name = zend_string_init("firstChild", sizeof("firstChild") - 1, 1);
2847 	zend_string *property_firstChild_class_Dom_Node = zend_string_init("Dom\\\116ode", sizeof("Dom\\\116ode")-1, 1);
2848 	zend_declare_typed_property(class_entry, property_firstChild_name, &property_firstChild_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_firstChild_class_Dom_Node, 0, MAY_BE_NULL));
2849 	zend_string_release(property_firstChild_name);
2850 
2851 	zval property_lastChild_default_value;
2852 	ZVAL_UNDEF(&property_lastChild_default_value);
2853 	zend_string *property_lastChild_name = zend_string_init("lastChild", sizeof("lastChild") - 1, 1);
2854 	zend_string *property_lastChild_class_Dom_Node = zend_string_init("Dom\\\116ode", sizeof("Dom\\\116ode")-1, 1);
2855 	zend_declare_typed_property(class_entry, property_lastChild_name, &property_lastChild_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_lastChild_class_Dom_Node, 0, MAY_BE_NULL));
2856 	zend_string_release(property_lastChild_name);
2857 
2858 	zval property_previousSibling_default_value;
2859 	ZVAL_UNDEF(&property_previousSibling_default_value);
2860 	zend_string *property_previousSibling_name = zend_string_init("previousSibling", sizeof("previousSibling") - 1, 1);
2861 	zend_string *property_previousSibling_class_Dom_Node = zend_string_init("Dom\\\116ode", sizeof("Dom\\\116ode")-1, 1);
2862 	zend_declare_typed_property(class_entry, property_previousSibling_name, &property_previousSibling_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_previousSibling_class_Dom_Node, 0, MAY_BE_NULL));
2863 	zend_string_release(property_previousSibling_name);
2864 
2865 	zval property_nextSibling_default_value;
2866 	ZVAL_UNDEF(&property_nextSibling_default_value);
2867 	zend_string *property_nextSibling_name = zend_string_init("nextSibling", sizeof("nextSibling") - 1, 1);
2868 	zend_string *property_nextSibling_class_Dom_Node = zend_string_init("Dom\\\116ode", sizeof("Dom\\\116ode")-1, 1);
2869 	zend_declare_typed_property(class_entry, property_nextSibling_name, &property_nextSibling_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_nextSibling_class_Dom_Node, 0, MAY_BE_NULL));
2870 	zend_string_release(property_nextSibling_name);
2871 
2872 	zval property_nodeValue_default_value;
2873 	ZVAL_UNDEF(&property_nodeValue_default_value);
2874 	zend_string *property_nodeValue_name = zend_string_init("nodeValue", sizeof("nodeValue") - 1, 1);
2875 	zend_declare_typed_property(class_entry, property_nodeValue_name, &property_nodeValue_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2876 	zend_string_release(property_nodeValue_name);
2877 
2878 	zval property_textContent_default_value;
2879 	ZVAL_UNDEF(&property_textContent_default_value);
2880 	zend_string *property_textContent_name = zend_string_init("textContent", sizeof("textContent") - 1, 1);
2881 	zend_declare_typed_property(class_entry, property_textContent_name, &property_textContent_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2882 	zend_string_release(property_textContent_name);
2883 
2884 	return class_entry;
2885 }
2886 
register_class_Dom_NodeList(zend_class_entry * class_entry_IteratorAggregate,zend_class_entry * class_entry_Countable)2887 static zend_class_entry *register_class_Dom_NodeList(zend_class_entry *class_entry_IteratorAggregate, zend_class_entry *class_entry_Countable)
2888 {
2889 	zend_class_entry ce, *class_entry;
2890 
2891 	INIT_NS_CLASS_ENTRY(ce, "Dom", "NodeList", class_Dom_NodeList_methods);
2892 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
2893 	zend_class_implements(class_entry, 2, class_entry_IteratorAggregate, class_entry_Countable);
2894 
2895 	zval property_length_default_value;
2896 	ZVAL_UNDEF(&property_length_default_value);
2897 	zend_string *property_length_name = zend_string_init("length", sizeof("length") - 1, 1);
2898 	zend_declare_typed_property(class_entry, property_length_name, &property_length_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2899 	zend_string_release(property_length_name);
2900 
2901 	return class_entry;
2902 }
2903 
register_class_Dom_NamedNodeMap(zend_class_entry * class_entry_IteratorAggregate,zend_class_entry * class_entry_Countable)2904 static zend_class_entry *register_class_Dom_NamedNodeMap(zend_class_entry *class_entry_IteratorAggregate, zend_class_entry *class_entry_Countable)
2905 {
2906 	zend_class_entry ce, *class_entry;
2907 
2908 	INIT_NS_CLASS_ENTRY(ce, "Dom", "NamedNodeMap", class_Dom_NamedNodeMap_methods);
2909 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
2910 	zend_class_implements(class_entry, 2, class_entry_IteratorAggregate, class_entry_Countable);
2911 
2912 	zval property_length_default_value;
2913 	ZVAL_UNDEF(&property_length_default_value);
2914 	zend_string *property_length_name = zend_string_init("length", sizeof("length") - 1, 1);
2915 	zend_declare_typed_property(class_entry, property_length_name, &property_length_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2916 	zend_string_release(property_length_name);
2917 
2918 	return class_entry;
2919 }
2920 
register_class_Dom_DtdNamedNodeMap(zend_class_entry * class_entry_IteratorAggregate,zend_class_entry * class_entry_Countable)2921 static zend_class_entry *register_class_Dom_DtdNamedNodeMap(zend_class_entry *class_entry_IteratorAggregate, zend_class_entry *class_entry_Countable)
2922 {
2923 	zend_class_entry ce, *class_entry;
2924 
2925 	INIT_NS_CLASS_ENTRY(ce, "Dom", "DtdNamedNodeMap", class_Dom_DtdNamedNodeMap_methods);
2926 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
2927 	zend_class_implements(class_entry, 2, class_entry_IteratorAggregate, class_entry_Countable);
2928 
2929 	zval property_length_default_value;
2930 	ZVAL_UNDEF(&property_length_default_value);
2931 	zend_string *property_length_name = zend_string_init("length", sizeof("length") - 1, 1);
2932 	zend_declare_typed_property(class_entry, property_length_name, &property_length_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2933 	zend_string_release(property_length_name);
2934 
2935 	return class_entry;
2936 }
2937 
register_class_Dom_HTMLCollection(zend_class_entry * class_entry_IteratorAggregate,zend_class_entry * class_entry_Countable)2938 static zend_class_entry *register_class_Dom_HTMLCollection(zend_class_entry *class_entry_IteratorAggregate, zend_class_entry *class_entry_Countable)
2939 {
2940 	zend_class_entry ce, *class_entry;
2941 
2942 	INIT_NS_CLASS_ENTRY(ce, "Dom", "HTMLCollection", class_Dom_HTMLCollection_methods);
2943 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
2944 	zend_class_implements(class_entry, 2, class_entry_IteratorAggregate, class_entry_Countable);
2945 
2946 	zval property_length_default_value;
2947 	ZVAL_UNDEF(&property_length_default_value);
2948 	zend_string *property_length_name = zend_string_init("length", sizeof("length") - 1, 1);
2949 	zend_declare_typed_property(class_entry, property_length_name, &property_length_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
2950 	zend_string_release(property_length_name);
2951 
2952 	return class_entry;
2953 }
2954 
register_class_Dom_AdjacentPosition(void)2955 static zend_class_entry *register_class_Dom_AdjacentPosition(void)
2956 {
2957 	zend_class_entry *class_entry = zend_register_internal_enum("Dom\\AdjacentPosition", IS_STRING, NULL);
2958 
2959 	zval enum_case_BeforeBegin_value;
2960 	zend_string *enum_case_BeforeBegin_value_str = zend_string_init("beforebegin", strlen("beforebegin"), 1);
2961 	ZVAL_STR(&enum_case_BeforeBegin_value, enum_case_BeforeBegin_value_str);
2962 	zend_enum_add_case_cstr(class_entry, "BeforeBegin", &enum_case_BeforeBegin_value);
2963 
2964 	zval enum_case_AfterBegin_value;
2965 	zend_string *enum_case_AfterBegin_value_str = zend_string_init("afterbegin", strlen("afterbegin"), 1);
2966 	ZVAL_STR(&enum_case_AfterBegin_value, enum_case_AfterBegin_value_str);
2967 	zend_enum_add_case_cstr(class_entry, "AfterBegin", &enum_case_AfterBegin_value);
2968 
2969 	zval enum_case_BeforeEnd_value;
2970 	zend_string *enum_case_BeforeEnd_value_str = zend_string_init("beforeend", strlen("beforeend"), 1);
2971 	ZVAL_STR(&enum_case_BeforeEnd_value, enum_case_BeforeEnd_value_str);
2972 	zend_enum_add_case_cstr(class_entry, "BeforeEnd", &enum_case_BeforeEnd_value);
2973 
2974 	zval enum_case_AfterEnd_value;
2975 	zend_string *enum_case_AfterEnd_value_str = zend_string_init("afterend", strlen("afterend"), 1);
2976 	ZVAL_STR(&enum_case_AfterEnd_value, enum_case_AfterEnd_value_str);
2977 	zend_enum_add_case_cstr(class_entry, "AfterEnd", &enum_case_AfterEnd_value);
2978 
2979 	return class_entry;
2980 }
2981 
register_class_Dom_Element(zend_class_entry * class_entry_Dom_Node,zend_class_entry * class_entry_Dom_ParentNode,zend_class_entry * class_entry_Dom_ChildNode)2982 static zend_class_entry *register_class_Dom_Element(zend_class_entry *class_entry_Dom_Node, zend_class_entry *class_entry_Dom_ParentNode, zend_class_entry *class_entry_Dom_ChildNode)
2983 {
2984 	zend_class_entry ce, *class_entry;
2985 
2986 	INIT_NS_CLASS_ENTRY(ce, "Dom", "Element", class_Dom_Element_methods);
2987 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Dom_Node, 0);
2988 	zend_class_implements(class_entry, 2, class_entry_Dom_ParentNode, class_entry_Dom_ChildNode);
2989 
2990 	zval property_namespaceURI_default_value;
2991 	ZVAL_UNDEF(&property_namespaceURI_default_value);
2992 	zend_string *property_namespaceURI_name = zend_string_init("namespaceURI", sizeof("namespaceURI") - 1, 1);
2993 	zend_declare_typed_property(class_entry, property_namespaceURI_name, &property_namespaceURI_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
2994 	zend_string_release(property_namespaceURI_name);
2995 
2996 	zval property_prefix_default_value;
2997 	ZVAL_UNDEF(&property_prefix_default_value);
2998 	zend_string *property_prefix_name = zend_string_init("prefix", sizeof("prefix") - 1, 1);
2999 	zend_declare_typed_property(class_entry, property_prefix_name, &property_prefix_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
3000 	zend_string_release(property_prefix_name);
3001 
3002 	zval property_localName_default_value;
3003 	ZVAL_UNDEF(&property_localName_default_value);
3004 	zend_string *property_localName_name = zend_string_init("localName", sizeof("localName") - 1, 1);
3005 	zend_declare_typed_property(class_entry, property_localName_name, &property_localName_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3006 	zend_string_release(property_localName_name);
3007 
3008 	zval property_tagName_default_value;
3009 	ZVAL_UNDEF(&property_tagName_default_value);
3010 	zend_string *property_tagName_name = zend_string_init("tagName", sizeof("tagName") - 1, 1);
3011 	zend_declare_typed_property(class_entry, property_tagName_name, &property_tagName_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3012 	zend_string_release(property_tagName_name);
3013 
3014 	zval property_id_default_value;
3015 	ZVAL_UNDEF(&property_id_default_value);
3016 	zend_string *property_id_name = zend_string_init("id", sizeof("id") - 1, 1);
3017 	zend_declare_typed_property(class_entry, property_id_name, &property_id_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3018 	zend_string_release(property_id_name);
3019 
3020 	zval property_className_default_value;
3021 	ZVAL_UNDEF(&property_className_default_value);
3022 	zend_string *property_className_name = zend_string_init("className", sizeof("className") - 1, 1);
3023 	zend_declare_typed_property(class_entry, property_className_name, &property_className_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3024 	zend_string_release(property_className_name);
3025 
3026 	zval property_classList_default_value;
3027 	ZVAL_UNDEF(&property_classList_default_value);
3028 	zend_string *property_classList_name = zend_string_init("classList", sizeof("classList") - 1, 1);
3029 	zend_string *property_classList_class_Dom_TokenList = zend_string_init("Dom\\TokenList", sizeof("Dom\\TokenList")-1, 1);
3030 	zend_declare_typed_property(class_entry, property_classList_name, &property_classList_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_classList_class_Dom_TokenList, 0, 0));
3031 	zend_string_release(property_classList_name);
3032 
3033 	zval property_attributes_default_value;
3034 	ZVAL_UNDEF(&property_attributes_default_value);
3035 	zend_string *property_attributes_name = zend_string_init("attributes", sizeof("attributes") - 1, 1);
3036 	zend_string *property_attributes_class_Dom_NamedNodeMap = zend_string_init("Dom\\\116amedNodeMap", sizeof("Dom\\\116amedNodeMap")-1, 1);
3037 	zend_declare_typed_property(class_entry, property_attributes_name, &property_attributes_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_attributes_class_Dom_NamedNodeMap, 0, 0));
3038 	zend_string_release(property_attributes_name);
3039 
3040 	zval property_firstElementChild_default_value;
3041 	ZVAL_UNDEF(&property_firstElementChild_default_value);
3042 	zend_string *property_firstElementChild_name = zend_string_init("firstElementChild", sizeof("firstElementChild") - 1, 1);
3043 	zend_string *property_firstElementChild_class_Dom_Element = zend_string_init("Dom\\Element", sizeof("Dom\\Element")-1, 1);
3044 	zend_declare_typed_property(class_entry, property_firstElementChild_name, &property_firstElementChild_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_firstElementChild_class_Dom_Element, 0, MAY_BE_NULL));
3045 	zend_string_release(property_firstElementChild_name);
3046 
3047 	zval property_lastElementChild_default_value;
3048 	ZVAL_UNDEF(&property_lastElementChild_default_value);
3049 	zend_string *property_lastElementChild_name = zend_string_init("lastElementChild", sizeof("lastElementChild") - 1, 1);
3050 	zend_string *property_lastElementChild_class_Dom_Element = zend_string_init("Dom\\Element", sizeof("Dom\\Element")-1, 1);
3051 	zend_declare_typed_property(class_entry, property_lastElementChild_name, &property_lastElementChild_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_lastElementChild_class_Dom_Element, 0, MAY_BE_NULL));
3052 	zend_string_release(property_lastElementChild_name);
3053 
3054 	zval property_childElementCount_default_value;
3055 	ZVAL_UNDEF(&property_childElementCount_default_value);
3056 	zend_string *property_childElementCount_name = zend_string_init("childElementCount", sizeof("childElementCount") - 1, 1);
3057 	zend_declare_typed_property(class_entry, property_childElementCount_name, &property_childElementCount_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
3058 	zend_string_release(property_childElementCount_name);
3059 
3060 	zval property_previousElementSibling_default_value;
3061 	ZVAL_UNDEF(&property_previousElementSibling_default_value);
3062 	zend_string *property_previousElementSibling_name = zend_string_init("previousElementSibling", sizeof("previousElementSibling") - 1, 1);
3063 	zend_string *property_previousElementSibling_class_Dom_Element = zend_string_init("Dom\\Element", sizeof("Dom\\Element")-1, 1);
3064 	zend_declare_typed_property(class_entry, property_previousElementSibling_name, &property_previousElementSibling_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_previousElementSibling_class_Dom_Element, 0, MAY_BE_NULL));
3065 	zend_string_release(property_previousElementSibling_name);
3066 
3067 	zval property_nextElementSibling_default_value;
3068 	ZVAL_UNDEF(&property_nextElementSibling_default_value);
3069 	zend_string *property_nextElementSibling_name = zend_string_init("nextElementSibling", sizeof("nextElementSibling") - 1, 1);
3070 	zend_string *property_nextElementSibling_class_Dom_Element = zend_string_init("Dom\\Element", sizeof("Dom\\Element")-1, 1);
3071 	zend_declare_typed_property(class_entry, property_nextElementSibling_name, &property_nextElementSibling_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_nextElementSibling_class_Dom_Element, 0, MAY_BE_NULL));
3072 	zend_string_release(property_nextElementSibling_name);
3073 
3074 	zval property_innerHTML_default_value;
3075 	ZVAL_UNDEF(&property_innerHTML_default_value);
3076 	zend_string *property_innerHTML_name = zend_string_init("innerHTML", sizeof("innerHTML") - 1, 1);
3077 	zend_declare_typed_property(class_entry, property_innerHTML_name, &property_innerHTML_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3078 	zend_string_release(property_innerHTML_name);
3079 
3080 	zval property_outerHTML_default_value;
3081 	ZVAL_UNDEF(&property_outerHTML_default_value);
3082 	zend_string *property_outerHTML_name = zend_string_init("outerHTML", sizeof("outerHTML") - 1, 1);
3083 	zend_declare_typed_property(class_entry, property_outerHTML_name, &property_outerHTML_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3084 	zend_string_release(property_outerHTML_name);
3085 
3086 	zval property_substitutedNodeValue_default_value;
3087 	ZVAL_UNDEF(&property_substitutedNodeValue_default_value);
3088 	zend_string *property_substitutedNodeValue_name = zend_string_init("substitutedNodeValue", sizeof("substitutedNodeValue") - 1, 1);
3089 	zend_declare_typed_property(class_entry, property_substitutedNodeValue_name, &property_substitutedNodeValue_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3090 	zend_string_release(property_substitutedNodeValue_name);
3091 
3092 	return class_entry;
3093 }
3094 
register_class_Dom_HTMLElement(zend_class_entry * class_entry_Dom_Element)3095 static zend_class_entry *register_class_Dom_HTMLElement(zend_class_entry *class_entry_Dom_Element)
3096 {
3097 	zend_class_entry ce, *class_entry;
3098 
3099 	INIT_NS_CLASS_ENTRY(ce, "Dom", "HTMLElement", NULL);
3100 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Dom_Element, 0);
3101 
3102 	return class_entry;
3103 }
3104 
register_class_Dom_Attr(zend_class_entry * class_entry_Dom_Node)3105 static zend_class_entry *register_class_Dom_Attr(zend_class_entry *class_entry_Dom_Node)
3106 {
3107 	zend_class_entry ce, *class_entry;
3108 
3109 	INIT_NS_CLASS_ENTRY(ce, "Dom", "Attr", class_Dom_Attr_methods);
3110 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Dom_Node, 0);
3111 
3112 	zval property_namespaceURI_default_value;
3113 	ZVAL_UNDEF(&property_namespaceURI_default_value);
3114 	zend_string *property_namespaceURI_name = zend_string_init("namespaceURI", sizeof("namespaceURI") - 1, 1);
3115 	zend_declare_typed_property(class_entry, property_namespaceURI_name, &property_namespaceURI_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
3116 	zend_string_release(property_namespaceURI_name);
3117 
3118 	zval property_prefix_default_value;
3119 	ZVAL_UNDEF(&property_prefix_default_value);
3120 	zend_string *property_prefix_name = zend_string_init("prefix", sizeof("prefix") - 1, 1);
3121 	zend_declare_typed_property(class_entry, property_prefix_name, &property_prefix_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
3122 	zend_string_release(property_prefix_name);
3123 
3124 	zval property_localName_default_value;
3125 	ZVAL_UNDEF(&property_localName_default_value);
3126 	zend_string *property_localName_name = zend_string_init("localName", sizeof("localName") - 1, 1);
3127 	zend_declare_typed_property(class_entry, property_localName_name, &property_localName_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3128 	zend_string_release(property_localName_name);
3129 
3130 	zval property_name_default_value;
3131 	ZVAL_UNDEF(&property_name_default_value);
3132 	zend_declare_typed_property(class_entry, ZSTR_KNOWN(ZEND_STR_NAME), &property_name_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3133 
3134 	zval property_value_default_value;
3135 	ZVAL_UNDEF(&property_value_default_value);
3136 	zend_declare_typed_property(class_entry, ZSTR_KNOWN(ZEND_STR_VALUE), &property_value_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3137 
3138 	zval property_ownerElement_default_value;
3139 	ZVAL_UNDEF(&property_ownerElement_default_value);
3140 	zend_string *property_ownerElement_name = zend_string_init("ownerElement", sizeof("ownerElement") - 1, 1);
3141 	zend_string *property_ownerElement_class_Dom_Element = zend_string_init("Dom\\Element", sizeof("Dom\\Element")-1, 1);
3142 	zend_declare_typed_property(class_entry, property_ownerElement_name, &property_ownerElement_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_ownerElement_class_Dom_Element, 0, MAY_BE_NULL));
3143 	zend_string_release(property_ownerElement_name);
3144 
3145 	zval property_specified_default_value;
3146 	ZVAL_UNDEF(&property_specified_default_value);
3147 	zend_string *property_specified_name = zend_string_init("specified", sizeof("specified") - 1, 1);
3148 	zend_declare_typed_property(class_entry, property_specified_name, &property_specified_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
3149 	zend_string_release(property_specified_name);
3150 
3151 	return class_entry;
3152 }
3153 
register_class_Dom_CharacterData(zend_class_entry * class_entry_Dom_Node,zend_class_entry * class_entry_Dom_ChildNode)3154 static zend_class_entry *register_class_Dom_CharacterData(zend_class_entry *class_entry_Dom_Node, zend_class_entry *class_entry_Dom_ChildNode)
3155 {
3156 	zend_class_entry ce, *class_entry;
3157 
3158 	INIT_NS_CLASS_ENTRY(ce, "Dom", "CharacterData", class_Dom_CharacterData_methods);
3159 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Dom_Node, 0);
3160 	zend_class_implements(class_entry, 1, class_entry_Dom_ChildNode);
3161 
3162 	zval property_previousElementSibling_default_value;
3163 	ZVAL_UNDEF(&property_previousElementSibling_default_value);
3164 	zend_string *property_previousElementSibling_name = zend_string_init("previousElementSibling", sizeof("previousElementSibling") - 1, 1);
3165 	zend_string *property_previousElementSibling_class_Dom_Element = zend_string_init("Dom\\Element", sizeof("Dom\\Element")-1, 1);
3166 	zend_declare_typed_property(class_entry, property_previousElementSibling_name, &property_previousElementSibling_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_previousElementSibling_class_Dom_Element, 0, MAY_BE_NULL));
3167 	zend_string_release(property_previousElementSibling_name);
3168 
3169 	zval property_nextElementSibling_default_value;
3170 	ZVAL_UNDEF(&property_nextElementSibling_default_value);
3171 	zend_string *property_nextElementSibling_name = zend_string_init("nextElementSibling", sizeof("nextElementSibling") - 1, 1);
3172 	zend_string *property_nextElementSibling_class_Dom_Element = zend_string_init("Dom\\Element", sizeof("Dom\\Element")-1, 1);
3173 	zend_declare_typed_property(class_entry, property_nextElementSibling_name, &property_nextElementSibling_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_nextElementSibling_class_Dom_Element, 0, MAY_BE_NULL));
3174 	zend_string_release(property_nextElementSibling_name);
3175 
3176 	zval property_data_default_value;
3177 	ZVAL_UNDEF(&property_data_default_value);
3178 	zend_string *property_data_name = zend_string_init("data", sizeof("data") - 1, 1);
3179 	zend_declare_typed_property(class_entry, property_data_name, &property_data_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3180 	zend_string_release(property_data_name);
3181 
3182 	zval property_length_default_value;
3183 	ZVAL_UNDEF(&property_length_default_value);
3184 	zend_string *property_length_name = zend_string_init("length", sizeof("length") - 1, 1);
3185 	zend_declare_typed_property(class_entry, property_length_name, &property_length_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
3186 	zend_string_release(property_length_name);
3187 
3188 	return class_entry;
3189 }
3190 
register_class_Dom_Text(zend_class_entry * class_entry_Dom_CharacterData)3191 static zend_class_entry *register_class_Dom_Text(zend_class_entry *class_entry_Dom_CharacterData)
3192 {
3193 	zend_class_entry ce, *class_entry;
3194 
3195 	INIT_NS_CLASS_ENTRY(ce, "Dom", "Text", class_Dom_Text_methods);
3196 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Dom_CharacterData, 0);
3197 
3198 	zval property_wholeText_default_value;
3199 	ZVAL_UNDEF(&property_wholeText_default_value);
3200 	zend_string *property_wholeText_name = zend_string_init("wholeText", sizeof("wholeText") - 1, 1);
3201 	zend_declare_typed_property(class_entry, property_wholeText_name, &property_wholeText_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3202 	zend_string_release(property_wholeText_name);
3203 
3204 	return class_entry;
3205 }
3206 
register_class_Dom_CDATASection(zend_class_entry * class_entry_Dom_Text)3207 static zend_class_entry *register_class_Dom_CDATASection(zend_class_entry *class_entry_Dom_Text)
3208 {
3209 	zend_class_entry ce, *class_entry;
3210 
3211 	INIT_NS_CLASS_ENTRY(ce, "Dom", "CDATASection", NULL);
3212 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Dom_Text, 0);
3213 
3214 	return class_entry;
3215 }
3216 
register_class_Dom_ProcessingInstruction(zend_class_entry * class_entry_Dom_CharacterData)3217 static zend_class_entry *register_class_Dom_ProcessingInstruction(zend_class_entry *class_entry_Dom_CharacterData)
3218 {
3219 	zend_class_entry ce, *class_entry;
3220 
3221 	INIT_NS_CLASS_ENTRY(ce, "Dom", "ProcessingInstruction", NULL);
3222 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Dom_CharacterData, 0);
3223 
3224 	zval property_target_default_value;
3225 	ZVAL_UNDEF(&property_target_default_value);
3226 	zend_string *property_target_name = zend_string_init("target", sizeof("target") - 1, 1);
3227 	zend_declare_typed_property(class_entry, property_target_name, &property_target_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3228 	zend_string_release(property_target_name);
3229 
3230 	return class_entry;
3231 }
3232 
register_class_Dom_Comment(zend_class_entry * class_entry_Dom_CharacterData)3233 static zend_class_entry *register_class_Dom_Comment(zend_class_entry *class_entry_Dom_CharacterData)
3234 {
3235 	zend_class_entry ce, *class_entry;
3236 
3237 	INIT_NS_CLASS_ENTRY(ce, "Dom", "Comment", NULL);
3238 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Dom_CharacterData, 0);
3239 
3240 	return class_entry;
3241 }
3242 
register_class_Dom_DocumentType(zend_class_entry * class_entry_Dom_Node,zend_class_entry * class_entry_Dom_ChildNode)3243 static zend_class_entry *register_class_Dom_DocumentType(zend_class_entry *class_entry_Dom_Node, zend_class_entry *class_entry_Dom_ChildNode)
3244 {
3245 	zend_class_entry ce, *class_entry;
3246 
3247 	INIT_NS_CLASS_ENTRY(ce, "Dom", "DocumentType", class_Dom_DocumentType_methods);
3248 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Dom_Node, 0);
3249 	zend_class_implements(class_entry, 1, class_entry_Dom_ChildNode);
3250 
3251 	zval property_name_default_value;
3252 	ZVAL_UNDEF(&property_name_default_value);
3253 	zend_declare_typed_property(class_entry, ZSTR_KNOWN(ZEND_STR_NAME), &property_name_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3254 
3255 	zval property_entities_default_value;
3256 	ZVAL_UNDEF(&property_entities_default_value);
3257 	zend_string *property_entities_name = zend_string_init("entities", sizeof("entities") - 1, 1);
3258 	zend_string *property_entities_class_Dom_DtdNamedNodeMap = zend_string_init("Dom\\DtdNamedNodeMap", sizeof("Dom\\DtdNamedNodeMap")-1, 1);
3259 	zend_declare_typed_property(class_entry, property_entities_name, &property_entities_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_entities_class_Dom_DtdNamedNodeMap, 0, 0));
3260 	zend_string_release(property_entities_name);
3261 
3262 	zval property_notations_default_value;
3263 	ZVAL_UNDEF(&property_notations_default_value);
3264 	zend_string *property_notations_name = zend_string_init("notations", sizeof("notations") - 1, 1);
3265 	zend_string *property_notations_class_Dom_DtdNamedNodeMap = zend_string_init("Dom\\DtdNamedNodeMap", sizeof("Dom\\DtdNamedNodeMap")-1, 1);
3266 	zend_declare_typed_property(class_entry, property_notations_name, &property_notations_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_notations_class_Dom_DtdNamedNodeMap, 0, 0));
3267 	zend_string_release(property_notations_name);
3268 
3269 	zval property_publicId_default_value;
3270 	ZVAL_UNDEF(&property_publicId_default_value);
3271 	zend_string *property_publicId_name = zend_string_init("publicId", sizeof("publicId") - 1, 1);
3272 	zend_declare_typed_property(class_entry, property_publicId_name, &property_publicId_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3273 	zend_string_release(property_publicId_name);
3274 
3275 	zval property_systemId_default_value;
3276 	ZVAL_UNDEF(&property_systemId_default_value);
3277 	zend_string *property_systemId_name = zend_string_init("systemId", sizeof("systemId") - 1, 1);
3278 	zend_declare_typed_property(class_entry, property_systemId_name, &property_systemId_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3279 	zend_string_release(property_systemId_name);
3280 
3281 	zval property_internalSubset_default_value;
3282 	ZVAL_UNDEF(&property_internalSubset_default_value);
3283 	zend_string *property_internalSubset_name = zend_string_init("internalSubset", sizeof("internalSubset") - 1, 1);
3284 	zend_declare_typed_property(class_entry, property_internalSubset_name, &property_internalSubset_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
3285 	zend_string_release(property_internalSubset_name);
3286 
3287 	return class_entry;
3288 }
3289 
register_class_Dom_DocumentFragment(zend_class_entry * class_entry_Dom_Node,zend_class_entry * class_entry_Dom_ParentNode)3290 static zend_class_entry *register_class_Dom_DocumentFragment(zend_class_entry *class_entry_Dom_Node, zend_class_entry *class_entry_Dom_ParentNode)
3291 {
3292 	zend_class_entry ce, *class_entry;
3293 
3294 	INIT_NS_CLASS_ENTRY(ce, "Dom", "DocumentFragment", class_Dom_DocumentFragment_methods);
3295 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Dom_Node, 0);
3296 	zend_class_implements(class_entry, 1, class_entry_Dom_ParentNode);
3297 
3298 	zval property_firstElementChild_default_value;
3299 	ZVAL_UNDEF(&property_firstElementChild_default_value);
3300 	zend_string *property_firstElementChild_name = zend_string_init("firstElementChild", sizeof("firstElementChild") - 1, 1);
3301 	zend_string *property_firstElementChild_class_Dom_Element = zend_string_init("Dom\\Element", sizeof("Dom\\Element")-1, 1);
3302 	zend_declare_typed_property(class_entry, property_firstElementChild_name, &property_firstElementChild_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_firstElementChild_class_Dom_Element, 0, MAY_BE_NULL));
3303 	zend_string_release(property_firstElementChild_name);
3304 
3305 	zval property_lastElementChild_default_value;
3306 	ZVAL_UNDEF(&property_lastElementChild_default_value);
3307 	zend_string *property_lastElementChild_name = zend_string_init("lastElementChild", sizeof("lastElementChild") - 1, 1);
3308 	zend_string *property_lastElementChild_class_Dom_Element = zend_string_init("Dom\\Element", sizeof("Dom\\Element")-1, 1);
3309 	zend_declare_typed_property(class_entry, property_lastElementChild_name, &property_lastElementChild_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_lastElementChild_class_Dom_Element, 0, MAY_BE_NULL));
3310 	zend_string_release(property_lastElementChild_name);
3311 
3312 	zval property_childElementCount_default_value;
3313 	ZVAL_UNDEF(&property_childElementCount_default_value);
3314 	zend_string *property_childElementCount_name = zend_string_init("childElementCount", sizeof("childElementCount") - 1, 1);
3315 	zend_declare_typed_property(class_entry, property_childElementCount_name, &property_childElementCount_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
3316 	zend_string_release(property_childElementCount_name);
3317 
3318 	return class_entry;
3319 }
3320 
register_class_Dom_Entity(zend_class_entry * class_entry_Dom_Node)3321 static zend_class_entry *register_class_Dom_Entity(zend_class_entry *class_entry_Dom_Node)
3322 {
3323 	zend_class_entry ce, *class_entry;
3324 
3325 	INIT_NS_CLASS_ENTRY(ce, "Dom", "Entity", NULL);
3326 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Dom_Node, 0);
3327 
3328 	zval property_publicId_default_value;
3329 	ZVAL_UNDEF(&property_publicId_default_value);
3330 	zend_string *property_publicId_name = zend_string_init("publicId", sizeof("publicId") - 1, 1);
3331 	zend_declare_typed_property(class_entry, property_publicId_name, &property_publicId_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
3332 	zend_string_release(property_publicId_name);
3333 
3334 	zval property_systemId_default_value;
3335 	ZVAL_UNDEF(&property_systemId_default_value);
3336 	zend_string *property_systemId_name = zend_string_init("systemId", sizeof("systemId") - 1, 1);
3337 	zend_declare_typed_property(class_entry, property_systemId_name, &property_systemId_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
3338 	zend_string_release(property_systemId_name);
3339 
3340 	zval property_notationName_default_value;
3341 	ZVAL_UNDEF(&property_notationName_default_value);
3342 	zend_string *property_notationName_name = zend_string_init("notationName", sizeof("notationName") - 1, 1);
3343 	zend_declare_typed_property(class_entry, property_notationName_name, &property_notationName_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
3344 	zend_string_release(property_notationName_name);
3345 
3346 	return class_entry;
3347 }
3348 
register_class_Dom_EntityReference(zend_class_entry * class_entry_Dom_Node)3349 static zend_class_entry *register_class_Dom_EntityReference(zend_class_entry *class_entry_Dom_Node)
3350 {
3351 	zend_class_entry ce, *class_entry;
3352 
3353 	INIT_NS_CLASS_ENTRY(ce, "Dom", "EntityReference", NULL);
3354 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Dom_Node, 0);
3355 
3356 	return class_entry;
3357 }
3358 
register_class_Dom_Notation(zend_class_entry * class_entry_Dom_Node)3359 static zend_class_entry *register_class_Dom_Notation(zend_class_entry *class_entry_Dom_Node)
3360 {
3361 	zend_class_entry ce, *class_entry;
3362 
3363 	INIT_NS_CLASS_ENTRY(ce, "Dom", "Notation", NULL);
3364 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Dom_Node, 0);
3365 
3366 	zval property_publicId_default_value;
3367 	ZVAL_UNDEF(&property_publicId_default_value);
3368 	zend_string *property_publicId_name = zend_string_init("publicId", sizeof("publicId") - 1, 1);
3369 	zend_declare_typed_property(class_entry, property_publicId_name, &property_publicId_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3370 	zend_string_release(property_publicId_name);
3371 
3372 	zval property_systemId_default_value;
3373 	ZVAL_UNDEF(&property_systemId_default_value);
3374 	zend_string *property_systemId_name = zend_string_init("systemId", sizeof("systemId") - 1, 1);
3375 	zend_declare_typed_property(class_entry, property_systemId_name, &property_systemId_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3376 	zend_string_release(property_systemId_name);
3377 
3378 	return class_entry;
3379 }
3380 
register_class_Dom_Document(zend_class_entry * class_entry_Dom_Node,zend_class_entry * class_entry_Dom_ParentNode)3381 static zend_class_entry *register_class_Dom_Document(zend_class_entry *class_entry_Dom_Node, zend_class_entry *class_entry_Dom_ParentNode)
3382 {
3383 	zend_class_entry ce, *class_entry;
3384 
3385 	INIT_NS_CLASS_ENTRY(ce, "Dom", "Document", class_Dom_Document_methods);
3386 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Dom_Node, ZEND_ACC_ABSTRACT);
3387 	zend_class_implements(class_entry, 1, class_entry_Dom_ParentNode);
3388 
3389 	zval property_implementation_default_value;
3390 	ZVAL_UNDEF(&property_implementation_default_value);
3391 	zend_string *property_implementation_name = zend_string_init("implementation", sizeof("implementation") - 1, 1);
3392 	zend_string *property_implementation_class_Dom_Implementation = zend_string_init("Dom\\Implementation", sizeof("Dom\\Implementation")-1, 1);
3393 	zend_declare_typed_property(class_entry, property_implementation_name, &property_implementation_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_implementation_class_Dom_Implementation, 0, 0));
3394 	zend_string_release(property_implementation_name);
3395 
3396 	zval property_URL_default_value;
3397 	ZVAL_UNDEF(&property_URL_default_value);
3398 	zend_string *property_URL_name = zend_string_init("URL", sizeof("URL") - 1, 1);
3399 	zend_declare_typed_property(class_entry, property_URL_name, &property_URL_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3400 	zend_string_release(property_URL_name);
3401 
3402 	zval property_documentURI_default_value;
3403 	ZVAL_UNDEF(&property_documentURI_default_value);
3404 	zend_string *property_documentURI_name = zend_string_init("documentURI", sizeof("documentURI") - 1, 1);
3405 	zend_declare_typed_property(class_entry, property_documentURI_name, &property_documentURI_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3406 	zend_string_release(property_documentURI_name);
3407 
3408 	zval property_characterSet_default_value;
3409 	ZVAL_UNDEF(&property_characterSet_default_value);
3410 	zend_string *property_characterSet_name = zend_string_init("characterSet", sizeof("characterSet") - 1, 1);
3411 	zend_declare_typed_property(class_entry, property_characterSet_name, &property_characterSet_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3412 	zend_string_release(property_characterSet_name);
3413 
3414 	zval property_charset_default_value;
3415 	ZVAL_UNDEF(&property_charset_default_value);
3416 	zend_string *property_charset_name = zend_string_init("charset", sizeof("charset") - 1, 1);
3417 	zend_declare_typed_property(class_entry, property_charset_name, &property_charset_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3418 	zend_string_release(property_charset_name);
3419 
3420 	zval property_inputEncoding_default_value;
3421 	ZVAL_UNDEF(&property_inputEncoding_default_value);
3422 	zend_string *property_inputEncoding_name = zend_string_init("inputEncoding", sizeof("inputEncoding") - 1, 1);
3423 	zend_declare_typed_property(class_entry, property_inputEncoding_name, &property_inputEncoding_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3424 	zend_string_release(property_inputEncoding_name);
3425 
3426 	zval property_doctype_default_value;
3427 	ZVAL_UNDEF(&property_doctype_default_value);
3428 	zend_string *property_doctype_name = zend_string_init("doctype", sizeof("doctype") - 1, 1);
3429 	zend_string *property_doctype_class_Dom_DocumentType = zend_string_init("Dom\\DocumentType", sizeof("Dom\\DocumentType")-1, 1);
3430 	zend_declare_typed_property(class_entry, property_doctype_name, &property_doctype_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_doctype_class_Dom_DocumentType, 0, MAY_BE_NULL));
3431 	zend_string_release(property_doctype_name);
3432 
3433 	zval property_documentElement_default_value;
3434 	ZVAL_UNDEF(&property_documentElement_default_value);
3435 	zend_string *property_documentElement_name = zend_string_init("documentElement", sizeof("documentElement") - 1, 1);
3436 	zend_string *property_documentElement_class_Dom_Element = zend_string_init("Dom\\Element", sizeof("Dom\\Element")-1, 1);
3437 	zend_declare_typed_property(class_entry, property_documentElement_name, &property_documentElement_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_documentElement_class_Dom_Element, 0, MAY_BE_NULL));
3438 	zend_string_release(property_documentElement_name);
3439 
3440 	zval property_firstElementChild_default_value;
3441 	ZVAL_UNDEF(&property_firstElementChild_default_value);
3442 	zend_string *property_firstElementChild_name = zend_string_init("firstElementChild", sizeof("firstElementChild") - 1, 1);
3443 	zend_string *property_firstElementChild_class_Dom_Element = zend_string_init("Dom\\Element", sizeof("Dom\\Element")-1, 1);
3444 	zend_declare_typed_property(class_entry, property_firstElementChild_name, &property_firstElementChild_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_firstElementChild_class_Dom_Element, 0, MAY_BE_NULL));
3445 	zend_string_release(property_firstElementChild_name);
3446 
3447 	zval property_lastElementChild_default_value;
3448 	ZVAL_UNDEF(&property_lastElementChild_default_value);
3449 	zend_string *property_lastElementChild_name = zend_string_init("lastElementChild", sizeof("lastElementChild") - 1, 1);
3450 	zend_string *property_lastElementChild_class_Dom_Element = zend_string_init("Dom\\Element", sizeof("Dom\\Element")-1, 1);
3451 	zend_declare_typed_property(class_entry, property_lastElementChild_name, &property_lastElementChild_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_lastElementChild_class_Dom_Element, 0, MAY_BE_NULL));
3452 	zend_string_release(property_lastElementChild_name);
3453 
3454 	zval property_childElementCount_default_value;
3455 	ZVAL_UNDEF(&property_childElementCount_default_value);
3456 	zend_string *property_childElementCount_name = zend_string_init("childElementCount", sizeof("childElementCount") - 1, 1);
3457 	zend_declare_typed_property(class_entry, property_childElementCount_name, &property_childElementCount_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
3458 	zend_string_release(property_childElementCount_name);
3459 
3460 	zval property_body_default_value;
3461 	ZVAL_UNDEF(&property_body_default_value);
3462 	zend_string *property_body_name = zend_string_init("body", sizeof("body") - 1, 1);
3463 	zend_string *property_body_class_Dom_HTMLElement = zend_string_init("Dom\\HTMLElement", sizeof("Dom\\HTMLElement")-1, 1);
3464 	zend_declare_typed_property(class_entry, property_body_name, &property_body_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_body_class_Dom_HTMLElement, 0, MAY_BE_NULL));
3465 	zend_string_release(property_body_name);
3466 
3467 	zval property_head_default_value;
3468 	ZVAL_UNDEF(&property_head_default_value);
3469 	zend_string *property_head_name = zend_string_init("head", sizeof("head") - 1, 1);
3470 	zend_string *property_head_class_Dom_HTMLElement = zend_string_init("Dom\\HTMLElement", sizeof("Dom\\HTMLElement")-1, 1);
3471 	zend_declare_typed_property(class_entry, property_head_name, &property_head_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_head_class_Dom_HTMLElement, 0, MAY_BE_NULL));
3472 	zend_string_release(property_head_name);
3473 
3474 	zval property_title_default_value;
3475 	ZVAL_UNDEF(&property_title_default_value);
3476 	zend_string *property_title_name = zend_string_init("title", sizeof("title") - 1, 1);
3477 	zend_declare_typed_property(class_entry, property_title_name, &property_title_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3478 	zend_string_release(property_title_name);
3479 
3480 	return class_entry;
3481 }
3482 
register_class_Dom_HTMLDocument(zend_class_entry * class_entry_Dom_Document)3483 static zend_class_entry *register_class_Dom_HTMLDocument(zend_class_entry *class_entry_Dom_Document)
3484 {
3485 	zend_class_entry ce, *class_entry;
3486 
3487 	INIT_NS_CLASS_ENTRY(ce, "Dom", "HTMLDocument", class_Dom_HTMLDocument_methods);
3488 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Dom_Document, ZEND_ACC_FINAL);
3489 
3490 	return class_entry;
3491 }
3492 
register_class_Dom_XMLDocument(zend_class_entry * class_entry_Dom_Document)3493 static zend_class_entry *register_class_Dom_XMLDocument(zend_class_entry *class_entry_Dom_Document)
3494 {
3495 	zend_class_entry ce, *class_entry;
3496 
3497 	INIT_NS_CLASS_ENTRY(ce, "Dom", "XMLDocument", class_Dom_XMLDocument_methods);
3498 	class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Dom_Document, ZEND_ACC_FINAL);
3499 
3500 	zval property_xmlEncoding_default_value;
3501 	ZVAL_UNDEF(&property_xmlEncoding_default_value);
3502 	zend_string *property_xmlEncoding_name = zend_string_init("xmlEncoding", sizeof("xmlEncoding") - 1, 1);
3503 	zend_declare_typed_property(class_entry, property_xmlEncoding_name, &property_xmlEncoding_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3504 	zend_string_release(property_xmlEncoding_name);
3505 
3506 	zval property_xmlStandalone_default_value;
3507 	ZVAL_UNDEF(&property_xmlStandalone_default_value);
3508 	zend_string *property_xmlStandalone_name = zend_string_init("xmlStandalone", sizeof("xmlStandalone") - 1, 1);
3509 	zend_declare_typed_property(class_entry, property_xmlStandalone_name, &property_xmlStandalone_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
3510 	zend_string_release(property_xmlStandalone_name);
3511 
3512 	zval property_xmlVersion_default_value;
3513 	ZVAL_UNDEF(&property_xmlVersion_default_value);
3514 	zend_string *property_xmlVersion_name = zend_string_init("xmlVersion", sizeof("xmlVersion") - 1, 1);
3515 	zend_declare_typed_property(class_entry, property_xmlVersion_name, &property_xmlVersion_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3516 	zend_string_release(property_xmlVersion_name);
3517 
3518 	zval property_formatOutput_default_value;
3519 	ZVAL_UNDEF(&property_formatOutput_default_value);
3520 	zend_string *property_formatOutput_name = zend_string_init("formatOutput", sizeof("formatOutput") - 1, 1);
3521 	zend_declare_typed_property(class_entry, property_formatOutput_name, &property_formatOutput_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
3522 	zend_string_release(property_formatOutput_name);
3523 
3524 	return class_entry;
3525 }
3526 
register_class_Dom_TokenList(zend_class_entry * class_entry_Dom_IteratorAggregate,zend_class_entry * class_entry_Dom_Countable)3527 static zend_class_entry *register_class_Dom_TokenList(zend_class_entry *class_entry_Dom_IteratorAggregate, zend_class_entry *class_entry_Dom_Countable)
3528 {
3529 	zend_class_entry ce, *class_entry;
3530 
3531 	INIT_NS_CLASS_ENTRY(ce, "Dom", "TokenList", class_Dom_TokenList_methods);
3532 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE);
3533 	zend_class_implements(class_entry, 2, class_entry_Dom_IteratorAggregate, class_entry_Dom_Countable);
3534 
3535 	zval property_length_default_value;
3536 	ZVAL_UNDEF(&property_length_default_value);
3537 	zend_string *property_length_name = zend_string_init("length", sizeof("length") - 1, 1);
3538 	zend_declare_typed_property(class_entry, property_length_name, &property_length_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
3539 	zend_string_release(property_length_name);
3540 
3541 	zval property_value_default_value;
3542 	ZVAL_UNDEF(&property_value_default_value);
3543 	zend_declare_typed_property(class_entry, ZSTR_KNOWN(ZEND_STR_VALUE), &property_value_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
3544 
3545 	return class_entry;
3546 }
3547 
register_class_Dom_NamespaceInfo(void)3548 static zend_class_entry *register_class_Dom_NamespaceInfo(void)
3549 {
3550 	zend_class_entry ce, *class_entry;
3551 
3552 	INIT_NS_CLASS_ENTRY(ce, "Dom", "NamespaceInfo", class_Dom_NamespaceInfo_methods);
3553 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE|ZEND_ACC_READONLY_CLASS);
3554 
3555 	zval property_prefix_default_value;
3556 	ZVAL_UNDEF(&property_prefix_default_value);
3557 	zend_string *property_prefix_name = zend_string_init("prefix", sizeof("prefix") - 1, 1);
3558 	zend_declare_typed_property(class_entry, property_prefix_name, &property_prefix_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
3559 	zend_string_release(property_prefix_name);
3560 
3561 	zval property_namespaceURI_default_value;
3562 	ZVAL_UNDEF(&property_namespaceURI_default_value);
3563 	zend_string *property_namespaceURI_name = zend_string_init("namespaceURI", sizeof("namespaceURI") - 1, 1);
3564 	zend_declare_typed_property(class_entry, property_namespaceURI_name, &property_namespaceURI_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
3565 	zend_string_release(property_namespaceURI_name);
3566 
3567 	zval property_element_default_value;
3568 	ZVAL_UNDEF(&property_element_default_value);
3569 	zend_string *property_element_name = zend_string_init("element", sizeof("element") - 1, 1);
3570 	zend_string *property_element_class_Dom_Element = zend_string_init("Dom\\Element", sizeof("Dom\\Element")-1, 1);
3571 	zend_declare_typed_property(class_entry, property_element_name, &property_element_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_element_class_Dom_Element, 0, 0));
3572 	zend_string_release(property_element_name);
3573 
3574 	return class_entry;
3575 }
3576 
3577 #if defined(LIBXML_XPATH_ENABLED)
register_class_Dom_XPath(void)3578 static zend_class_entry *register_class_Dom_XPath(void)
3579 {
3580 	zend_class_entry ce, *class_entry;
3581 
3582 	INIT_NS_CLASS_ENTRY(ce, "Dom", "XPath", class_Dom_XPath_methods);
3583 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NOT_SERIALIZABLE);
3584 
3585 	zval property_document_default_value;
3586 	ZVAL_UNDEF(&property_document_default_value);
3587 	zend_string *property_document_name = zend_string_init("document", sizeof("document") - 1, 1);
3588 	zend_string *property_document_class_Dom_Document = zend_string_init("Dom\\Document", sizeof("Dom\\Document")-1, 1);
3589 	zend_declare_typed_property(class_entry, property_document_name, &property_document_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_document_class_Dom_Document, 0, 0));
3590 	zend_string_release(property_document_name);
3591 
3592 	zval property_registerNodeNamespaces_default_value;
3593 	ZVAL_UNDEF(&property_registerNodeNamespaces_default_value);
3594 	zend_string *property_registerNodeNamespaces_name = zend_string_init("registerNodeNamespaces", sizeof("registerNodeNamespaces") - 1, 1);
3595 	zend_declare_typed_property(class_entry, property_registerNodeNamespaces_name, &property_registerNodeNamespaces_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_VIRTUAL, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
3596 	zend_string_release(property_registerNodeNamespaces_name);
3597 
3598 	return class_entry;
3599 }
3600 #endif
3601