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