1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 203760d1cf0e063ffd9abe743a0e24a97985767e */
3
4 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_dom_import_simplexml, 0, 1, DOMElement, 0)
5 ZEND_ARG_TYPE_INFO(0, node, IS_OBJECT, 0)
6 ZEND_END_ARG_INFO()
7
8 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMCdataSection___construct, 0, 0, 1)
9 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
10 ZEND_END_ARG_INFO()
11
12 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMComment___construct, 0, 0, 0)
13 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, data, IS_STRING, 0, "\"\"")
14 ZEND_END_ARG_INFO()
15
16 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DOMParentNode_append, 0, 0, IS_VOID, 0)
17 ZEND_ARG_VARIADIC_INFO(0, nodes)
18 ZEND_END_ARG_INFO()
19
20 #define arginfo_class_DOMParentNode_prepend arginfo_class_DOMParentNode_append
21
22 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DOMChildNode_remove, 0, 0, IS_VOID, 0)
23 ZEND_END_ARG_INFO()
24
25 #define arginfo_class_DOMChildNode_before arginfo_class_DOMParentNode_append
26
27 #define arginfo_class_DOMChildNode_after arginfo_class_DOMParentNode_append
28
29 #define arginfo_class_DOMChildNode_replaceWith arginfo_class_DOMParentNode_append
30
31 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode___sleep, 0, 0, IS_ARRAY, 0)
32 ZEND_END_ARG_INFO()
33
34 #define arginfo_class_DOMNode___wakeup arginfo_class_DOMChildNode_remove
35
36 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNode_appendChild, 0, 0, 1)
37 ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
38 ZEND_END_ARG_INFO()
39
40 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMNode_C14N, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
41 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, exclusive, _IS_BOOL, 0, "false")
42 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, withComments, _IS_BOOL, 0, "false")
43 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, xpath, IS_ARRAY, 1, "null")
44 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, nsPrefixes, IS_ARRAY, 1, "null")
45 ZEND_END_ARG_INFO()
46
47 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMNode_C14NFile, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
48 ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 0)
49 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, exclusive, _IS_BOOL, 0, "false")
50 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, withComments, _IS_BOOL, 0, "false")
51 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, xpath, IS_ARRAY, 1, "null")
52 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, nsPrefixes, IS_ARRAY, 1, "null")
53 ZEND_END_ARG_INFO()
54
55 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNode_cloneNode, 0, 0, 0)
56 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, deep, _IS_BOOL, 0, "false")
57 ZEND_END_ARG_INFO()
58
59 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_getLineNo, 0, 0, IS_LONG, 0)
60 ZEND_END_ARG_INFO()
61
62 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_getNodePath, 0, 0, IS_STRING, 1)
63 ZEND_END_ARG_INFO()
64
65 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_hasAttributes, 0, 0, _IS_BOOL, 0)
66 ZEND_END_ARG_INFO()
67
68 #define arginfo_class_DOMNode_hasChildNodes arginfo_class_DOMNode_hasAttributes
69
70 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNode_insertBefore, 0, 0, 1)
71 ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
72 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, child, DOMNode, 1, "null")
73 ZEND_END_ARG_INFO()
74
75 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_isDefaultNamespace, 0, 1, _IS_BOOL, 0)
76 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
77 ZEND_END_ARG_INFO()
78
79 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_isSameNode, 0, 1, _IS_BOOL, 0)
80 ZEND_ARG_OBJ_INFO(0, otherNode, DOMNode, 0)
81 ZEND_END_ARG_INFO()
82
83 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_isSupported, 0, 2, _IS_BOOL, 0)
84 ZEND_ARG_TYPE_INFO(0, feature, IS_STRING, 0)
85 ZEND_ARG_TYPE_INFO(0, version, IS_STRING, 0)
86 ZEND_END_ARG_INFO()
87
88 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_lookupNamespaceURI, 0, 1, IS_STRING, 1)
89 ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
90 ZEND_END_ARG_INFO()
91
92 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_lookupPrefix, 0, 1, IS_STRING, 1)
93 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
94 ZEND_END_ARG_INFO()
95
96 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMNode_normalize, 0, 0, IS_VOID, 0)
97 ZEND_END_ARG_INFO()
98
99 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNode_removeChild, 0, 0, 1)
100 ZEND_ARG_OBJ_INFO(0, child, DOMNode, 0)
101 ZEND_END_ARG_INFO()
102
103 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNode_replaceChild, 0, 0, 2)
104 ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
105 ZEND_ARG_OBJ_INFO(0, child, DOMNode, 0)
106 ZEND_END_ARG_INFO()
107
108 #define arginfo_class_DOMNameSpaceNode___sleep arginfo_class_DOMNode___sleep
109
110 #define arginfo_class_DOMNameSpaceNode___wakeup arginfo_class_DOMChildNode_remove
111
112 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMImplementation_getFeature, 0, 2, IS_NEVER, 0)
113 ZEND_ARG_TYPE_INFO(0, feature, IS_STRING, 0)
114 ZEND_ARG_TYPE_INFO(0, version, IS_STRING, 0)
115 ZEND_END_ARG_INFO()
116
117 #define arginfo_class_DOMImplementation_hasFeature arginfo_class_DOMNode_isSupported
118
119 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMImplementation_createDocumentType, 0, 0, 1)
120 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
121 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, publicId, IS_STRING, 0, "\"\"")
122 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, systemId, IS_STRING, 0, "\"\"")
123 ZEND_END_ARG_INFO()
124
125 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMImplementation_createDocument, 0, 0, 0)
126 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, namespace, IS_STRING, 1, "null")
127 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, qualifiedName, IS_STRING, 0, "\"\"")
128 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, doctype, DOMDocumentType, 1, "null")
129 ZEND_END_ARG_INFO()
130
131 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocumentFragment___construct, 0, 0, 0)
132 ZEND_END_ARG_INFO()
133
134 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocumentFragment_appendXML, 0, 1, _IS_BOOL, 0)
135 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
136 ZEND_END_ARG_INFO()
137
138 #define arginfo_class_DOMDocumentFragment_append arginfo_class_DOMParentNode_append
139
140 #define arginfo_class_DOMDocumentFragment_prepend arginfo_class_DOMParentNode_append
141
142 #define arginfo_class_DOMNodeList_count arginfo_class_DOMNode_getLineNo
143
144 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_DOMNodeList_getIterator, 0, 0, Iterator, 0)
145 ZEND_END_ARG_INFO()
146
147 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMNodeList_item, 0, 0, 1)
148 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
149 ZEND_END_ARG_INFO()
150
151 #define arginfo_class_DOMCharacterData_appendData arginfo_class_DOMDocumentFragment_appendXML
152
153 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMCharacterData_substringData, 0, 0, 2)
154 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
155 ZEND_ARG_TYPE_INFO(0, count, IS_LONG, 0)
156 ZEND_END_ARG_INFO()
157
158 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMCharacterData_insertData, 0, 2, _IS_BOOL, 0)
159 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
160 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
161 ZEND_END_ARG_INFO()
162
163 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMCharacterData_deleteData, 0, 2, _IS_BOOL, 0)
164 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
165 ZEND_ARG_TYPE_INFO(0, count, IS_LONG, 0)
166 ZEND_END_ARG_INFO()
167
168 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMCharacterData_replaceData, 0, 3, _IS_BOOL, 0)
169 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
170 ZEND_ARG_TYPE_INFO(0, count, IS_LONG, 0)
171 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
172 ZEND_END_ARG_INFO()
173
174 #define arginfo_class_DOMCharacterData_replaceWith arginfo_class_DOMParentNode_append
175
176 #define arginfo_class_DOMCharacterData_remove arginfo_class_DOMChildNode_remove
177
178 #define arginfo_class_DOMCharacterData_before arginfo_class_DOMParentNode_append
179
180 #define arginfo_class_DOMCharacterData_after arginfo_class_DOMParentNode_append
181
182 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMAttr___construct, 0, 0, 1)
183 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
184 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 0, "\"\"")
185 ZEND_END_ARG_INFO()
186
187 #define arginfo_class_DOMAttr_isId arginfo_class_DOMNode_hasAttributes
188
189 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMElement___construct, 0, 0, 1)
190 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
191 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 1, "null")
192 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, namespace, IS_STRING, 0, "\"\"")
193 ZEND_END_ARG_INFO()
194
195 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_getAttribute, 0, 1, IS_STRING, 0)
196 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
197 ZEND_END_ARG_INFO()
198
199 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_getAttributeNS, 0, 2, IS_STRING, 0)
200 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
201 ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
202 ZEND_END_ARG_INFO()
203
204 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMElement_getAttributeNode, 0, 0, 1)
205 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
206 ZEND_END_ARG_INFO()
207
208 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMElement_getAttributeNodeNS, 0, 0, 2)
209 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
210 ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
211 ZEND_END_ARG_INFO()
212
213 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMElement_getElementsByTagName, 0, 1, DOMNodeList, 0)
214 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
215 ZEND_END_ARG_INFO()
216
217 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMElement_getElementsByTagNameNS, 0, 2, DOMNodeList, 0)
218 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
219 ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
220 ZEND_END_ARG_INFO()
221
222 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_hasAttribute, 0, 1, _IS_BOOL, 0)
223 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
224 ZEND_END_ARG_INFO()
225
226 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_hasAttributeNS, 0, 2, _IS_BOOL, 0)
227 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
228 ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
229 ZEND_END_ARG_INFO()
230
231 #define arginfo_class_DOMElement_removeAttribute arginfo_class_DOMElement_hasAttribute
232
233 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_removeAttributeNS, 0, 2, IS_VOID, 0)
234 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
235 ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
236 ZEND_END_ARG_INFO()
237
238 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMElement_removeAttributeNode, 0, 0, 1)
239 ZEND_ARG_OBJ_INFO(0, attr, DOMAttr, 0)
240 ZEND_END_ARG_INFO()
241
242 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMElement_setAttribute, 0, 0, 2)
243 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
244 ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
245 ZEND_END_ARG_INFO()
246
247 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_setAttributeNS, 0, 3, IS_VOID, 0)
248 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
249 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
250 ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
251 ZEND_END_ARG_INFO()
252
253 #define arginfo_class_DOMElement_setAttributeNode arginfo_class_DOMElement_removeAttributeNode
254
255 #define arginfo_class_DOMElement_setAttributeNodeNS arginfo_class_DOMElement_removeAttributeNode
256
257 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_setIdAttribute, 0, 2, IS_VOID, 0)
258 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
259 ZEND_ARG_TYPE_INFO(0, isId, _IS_BOOL, 0)
260 ZEND_END_ARG_INFO()
261
262 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_setIdAttributeNS, 0, 3, IS_VOID, 0)
263 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
264 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
265 ZEND_ARG_TYPE_INFO(0, isId, _IS_BOOL, 0)
266 ZEND_END_ARG_INFO()
267
268 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMElement_setIdAttributeNode, 0, 2, IS_VOID, 0)
269 ZEND_ARG_OBJ_INFO(0, attr, DOMAttr, 0)
270 ZEND_ARG_TYPE_INFO(0, isId, _IS_BOOL, 0)
271 ZEND_END_ARG_INFO()
272
273 #define arginfo_class_DOMElement_remove arginfo_class_DOMChildNode_remove
274
275 #define arginfo_class_DOMElement_before arginfo_class_DOMParentNode_append
276
277 #define arginfo_class_DOMElement_after arginfo_class_DOMParentNode_append
278
279 #define arginfo_class_DOMElement_replaceWith arginfo_class_DOMParentNode_append
280
281 #define arginfo_class_DOMElement_append arginfo_class_DOMParentNode_append
282
283 #define arginfo_class_DOMElement_prepend arginfo_class_DOMParentNode_append
284
285 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument___construct, 0, 0, 0)
286 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, version, IS_STRING, 0, "\"1.0\"")
287 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 0, "\"\"")
288 ZEND_END_ARG_INFO()
289
290 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createAttribute, 0, 0, 1)
291 ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
292 ZEND_END_ARG_INFO()
293
294 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createAttributeNS, 0, 0, 2)
295 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
296 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
297 ZEND_END_ARG_INFO()
298
299 #define arginfo_class_DOMDocument_createCDATASection arginfo_class_DOMCdataSection___construct
300
301 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMDocument_createComment, 0, 1, DOMComment, 0)
302 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
303 ZEND_END_ARG_INFO()
304
305 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMDocument_createDocumentFragment, 0, 0, DOMDocumentFragment, 0)
306 ZEND_END_ARG_INFO()
307
308 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createElement, 0, 0, 1)
309 ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
310 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 0, "\"\"")
311 ZEND_END_ARG_INFO()
312
313 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createElementNS, 0, 0, 2)
314 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
315 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
316 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 0, "\"\"")
317 ZEND_END_ARG_INFO()
318
319 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createEntityReference, 0, 0, 1)
320 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
321 ZEND_END_ARG_INFO()
322
323 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_createProcessingInstruction, 0, 0, 1)
324 ZEND_ARG_TYPE_INFO(0, target, IS_STRING, 0)
325 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, data, IS_STRING, 0, "\"\"")
326 ZEND_END_ARG_INFO()
327
328 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMDocument_createTextNode, 0, 1, DOMText, 0)
329 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
330 ZEND_END_ARG_INFO()
331
332 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMDocument_getElementById, 0, 1, DOMElement, 1)
333 ZEND_ARG_TYPE_INFO(0, elementId, IS_STRING, 0)
334 ZEND_END_ARG_INFO()
335
336 #define arginfo_class_DOMDocument_getElementsByTagName arginfo_class_DOMElement_getElementsByTagName
337
338 #define arginfo_class_DOMDocument_getElementsByTagNameNS arginfo_class_DOMElement_getElementsByTagNameNS
339
340 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_importNode, 0, 0, 1)
341 ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
342 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, deep, _IS_BOOL, 0, "false")
343 ZEND_END_ARG_INFO()
344
345 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_load, 0, 0, 1)
346 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
347 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
348 ZEND_END_ARG_INFO()
349
350 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_loadXML, 0, 0, 1)
351 ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
352 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
353 ZEND_END_ARG_INFO()
354
355 #define arginfo_class_DOMDocument_normalizeDocument arginfo_class_DOMNode_normalize
356
357 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_registerNodeClass, 0, 2, _IS_BOOL, 0)
358 ZEND_ARG_TYPE_INFO(0, baseClass, IS_STRING, 0)
359 ZEND_ARG_TYPE_INFO(0, extendedClass, IS_STRING, 1)
360 ZEND_END_ARG_INFO()
361
362 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMDocument_save, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
363 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
364 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
365 ZEND_END_ARG_INFO()
366
367 #if defined(LIBXML_HTML_ENABLED)
368 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_loadHTML, 0, 0, 1)
369 ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
370 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
371 ZEND_END_ARG_INFO()
372 #endif
373
374 #if defined(LIBXML_HTML_ENABLED)
375 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMDocument_loadHTMLFile, 0, 0, 1)
376 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
377 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
378 ZEND_END_ARG_INFO()
379 #endif
380
381 #if defined(LIBXML_HTML_ENABLED)
382 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMDocument_saveHTML, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
383 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, node, DOMNode, 1, "null")
384 ZEND_END_ARG_INFO()
385 #endif
386
387 #if defined(LIBXML_HTML_ENABLED)
388 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMDocument_saveHTMLFile, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
389 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
390 ZEND_END_ARG_INFO()
391 #endif
392
393 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMDocument_saveXML, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
394 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, node, DOMNode, 1, "null")
395 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
396 ZEND_END_ARG_INFO()
397
398 #if defined(LIBXML_SCHEMAS_ENABLED)
399 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_schemaValidate, 0, 1, _IS_BOOL, 0)
400 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
401 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
402 ZEND_END_ARG_INFO()
403 #endif
404
405 #if defined(LIBXML_SCHEMAS_ENABLED)
406 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_schemaValidateSource, 0, 1, _IS_BOOL, 0)
407 ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
408 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
409 ZEND_END_ARG_INFO()
410 #endif
411
412 #if defined(LIBXML_SCHEMAS_ENABLED)
413 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_relaxNGValidate, 0, 1, _IS_BOOL, 0)
414 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
415 ZEND_END_ARG_INFO()
416 #endif
417
418 #if defined(LIBXML_SCHEMAS_ENABLED)
419 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMDocument_relaxNGValidateSource, 0, 1, _IS_BOOL, 0)
420 ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)
421 ZEND_END_ARG_INFO()
422 #endif
423
424 #define arginfo_class_DOMDocument_validate arginfo_class_DOMNode_hasAttributes
425
426 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_DOMDocument_xinclude, 0, 0, MAY_BE_LONG|MAY_BE_FALSE)
427 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
428 ZEND_END_ARG_INFO()
429
430 #define arginfo_class_DOMDocument_adoptNode arginfo_class_DOMNode_appendChild
431
432 #define arginfo_class_DOMDocument_append arginfo_class_DOMParentNode_append
433
434 #define arginfo_class_DOMDocument_prepend arginfo_class_DOMParentNode_append
435
436 #define arginfo_class_DOMText___construct arginfo_class_DOMComment___construct
437
438 #define arginfo_class_DOMText_isWhitespaceInElementContent arginfo_class_DOMNode_hasAttributes
439
440 #define arginfo_class_DOMText_isElementContentWhitespace arginfo_class_DOMNode_hasAttributes
441
442 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMText_splitText, 0, 0, 1)
443 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
444 ZEND_END_ARG_INFO()
445
446 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMNamedNodeMap_getNamedItem, 0, 1, DOMNode, 1)
447 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
448 ZEND_END_ARG_INFO()
449
450 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMNamedNodeMap_getNamedItemNS, 0, 2, DOMNode, 1)
451 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
452 ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
453 ZEND_END_ARG_INFO()
454
455 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_DOMNamedNodeMap_item, 0, 1, DOMNode, 1)
456 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
457 ZEND_END_ARG_INFO()
458
459 #define arginfo_class_DOMNamedNodeMap_count arginfo_class_DOMNode_getLineNo
460
461 #define arginfo_class_DOMNamedNodeMap_getIterator arginfo_class_DOMNodeList_getIterator
462
463 #define arginfo_class_DOMEntityReference___construct arginfo_class_DOMDocument_createEntityReference
464
465 #define arginfo_class_DOMProcessingInstruction___construct arginfo_class_DOMAttr___construct
466
467 #if defined(LIBXML_XPATH_ENABLED)
468 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DOMXPath___construct, 0, 0, 1)
469 ZEND_ARG_OBJ_INFO(0, document, DOMDocument, 0)
470 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, registerNodeNS, _IS_BOOL, 0, "true")
471 ZEND_END_ARG_INFO()
472 #endif
473
474 #if defined(LIBXML_XPATH_ENABLED)
475 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMXPath_evaluate, 0, 1, IS_MIXED, 0)
476 ZEND_ARG_TYPE_INFO(0, expression, IS_STRING, 0)
477 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, contextNode, DOMNode, 1, "null")
478 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, registerNodeNS, _IS_BOOL, 0, "true")
479 ZEND_END_ARG_INFO()
480 #endif
481
482 #if defined(LIBXML_XPATH_ENABLED)
483 #define arginfo_class_DOMXPath_query arginfo_class_DOMXPath_evaluate
484 #endif
485
486 #if defined(LIBXML_XPATH_ENABLED)
487 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMXPath_registerNamespace, 0, 2, _IS_BOOL, 0)
488 ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 0)
489 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
490 ZEND_END_ARG_INFO()
491 #endif
492
493 #if defined(LIBXML_XPATH_ENABLED)
494 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_DOMXPath_registerPhpFunctions, 0, 0, IS_VOID, 0)
495 ZEND_ARG_TYPE_MASK(0, restrict, MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_NULL, "null")
496 ZEND_END_ARG_INFO()
497 #endif
498
499
500 ZEND_FUNCTION(dom_import_simplexml);
501 ZEND_METHOD(DOMCdataSection, __construct);
502 ZEND_METHOD(DOMComment, __construct);
503 ZEND_METHOD(DOMNode, __sleep);
504 ZEND_METHOD(DOMNode, __wakeup);
505 ZEND_METHOD(DOMNode, appendChild);
506 ZEND_METHOD(DOMNode, C14N);
507 ZEND_METHOD(DOMNode, C14NFile);
508 ZEND_METHOD(DOMNode, cloneNode);
509 ZEND_METHOD(DOMNode, getLineNo);
510 ZEND_METHOD(DOMNode, getNodePath);
511 ZEND_METHOD(DOMNode, hasAttributes);
512 ZEND_METHOD(DOMNode, hasChildNodes);
513 ZEND_METHOD(DOMNode, insertBefore);
514 ZEND_METHOD(DOMNode, isDefaultNamespace);
515 ZEND_METHOD(DOMNode, isSameNode);
516 ZEND_METHOD(DOMNode, isSupported);
517 ZEND_METHOD(DOMNode, lookupNamespaceURI);
518 ZEND_METHOD(DOMNode, lookupPrefix);
519 ZEND_METHOD(DOMNode, normalize);
520 ZEND_METHOD(DOMNode, removeChild);
521 ZEND_METHOD(DOMNode, replaceChild);
522 ZEND_METHOD(DOMImplementation, getFeature);
523 ZEND_METHOD(DOMImplementation, hasFeature);
524 ZEND_METHOD(DOMImplementation, createDocumentType);
525 ZEND_METHOD(DOMImplementation, createDocument);
526 ZEND_METHOD(DOMDocumentFragment, __construct);
527 ZEND_METHOD(DOMDocumentFragment, appendXML);
528 ZEND_METHOD(DOMDocumentFragment, append);
529 ZEND_METHOD(DOMDocumentFragment, prepend);
530 ZEND_METHOD(DOMNodeList, count);
531 ZEND_METHOD(DOMNodeList, getIterator);
532 ZEND_METHOD(DOMNodeList, item);
533 ZEND_METHOD(DOMCharacterData, appendData);
534 ZEND_METHOD(DOMCharacterData, substringData);
535 ZEND_METHOD(DOMCharacterData, insertData);
536 ZEND_METHOD(DOMCharacterData, deleteData);
537 ZEND_METHOD(DOMCharacterData, replaceData);
538 ZEND_METHOD(DOMCharacterData, replaceWith);
539 ZEND_METHOD(DOMCharacterData, remove);
540 ZEND_METHOD(DOMCharacterData, before);
541 ZEND_METHOD(DOMCharacterData, after);
542 ZEND_METHOD(DOMAttr, __construct);
543 ZEND_METHOD(DOMAttr, isId);
544 ZEND_METHOD(DOMElement, __construct);
545 ZEND_METHOD(DOMElement, getAttribute);
546 ZEND_METHOD(DOMElement, getAttributeNS);
547 ZEND_METHOD(DOMElement, getAttributeNode);
548 ZEND_METHOD(DOMElement, getAttributeNodeNS);
549 ZEND_METHOD(DOMElement, getElementsByTagName);
550 ZEND_METHOD(DOMElement, getElementsByTagNameNS);
551 ZEND_METHOD(DOMElement, hasAttribute);
552 ZEND_METHOD(DOMElement, hasAttributeNS);
553 ZEND_METHOD(DOMElement, removeAttribute);
554 ZEND_METHOD(DOMElement, removeAttributeNS);
555 ZEND_METHOD(DOMElement, removeAttributeNode);
556 ZEND_METHOD(DOMElement, setAttribute);
557 ZEND_METHOD(DOMElement, setAttributeNS);
558 ZEND_METHOD(DOMElement, setAttributeNode);
559 ZEND_METHOD(DOMElement, setAttributeNodeNS);
560 ZEND_METHOD(DOMElement, setIdAttribute);
561 ZEND_METHOD(DOMElement, setIdAttributeNS);
562 ZEND_METHOD(DOMElement, setIdAttributeNode);
563 ZEND_METHOD(DOMElement, remove);
564 ZEND_METHOD(DOMElement, before);
565 ZEND_METHOD(DOMElement, after);
566 ZEND_METHOD(DOMElement, replaceWith);
567 ZEND_METHOD(DOMElement, append);
568 ZEND_METHOD(DOMElement, prepend);
569 ZEND_METHOD(DOMDocument, __construct);
570 ZEND_METHOD(DOMDocument, createAttribute);
571 ZEND_METHOD(DOMDocument, createAttributeNS);
572 ZEND_METHOD(DOMDocument, createCDATASection);
573 ZEND_METHOD(DOMDocument, createComment);
574 ZEND_METHOD(DOMDocument, createDocumentFragment);
575 ZEND_METHOD(DOMDocument, createElement);
576 ZEND_METHOD(DOMDocument, createElementNS);
577 ZEND_METHOD(DOMDocument, createEntityReference);
578 ZEND_METHOD(DOMDocument, createProcessingInstruction);
579 ZEND_METHOD(DOMDocument, createTextNode);
580 ZEND_METHOD(DOMDocument, getElementById);
581 ZEND_METHOD(DOMDocument, getElementsByTagName);
582 ZEND_METHOD(DOMDocument, getElementsByTagNameNS);
583 ZEND_METHOD(DOMDocument, importNode);
584 ZEND_METHOD(DOMDocument, load);
585 ZEND_METHOD(DOMDocument, loadXML);
586 ZEND_METHOD(DOMDocument, normalizeDocument);
587 ZEND_METHOD(DOMDocument, registerNodeClass);
588 ZEND_METHOD(DOMDocument, save);
589 #if defined(LIBXML_HTML_ENABLED)
590 ZEND_METHOD(DOMDocument, loadHTML);
591 #endif
592 #if defined(LIBXML_HTML_ENABLED)
593 ZEND_METHOD(DOMDocument, loadHTMLFile);
594 #endif
595 #if defined(LIBXML_HTML_ENABLED)
596 ZEND_METHOD(DOMDocument, saveHTML);
597 #endif
598 #if defined(LIBXML_HTML_ENABLED)
599 ZEND_METHOD(DOMDocument, saveHTMLFile);
600 #endif
601 ZEND_METHOD(DOMDocument, saveXML);
602 #if defined(LIBXML_SCHEMAS_ENABLED)
603 ZEND_METHOD(DOMDocument, schemaValidate);
604 #endif
605 #if defined(LIBXML_SCHEMAS_ENABLED)
606 ZEND_METHOD(DOMDocument, schemaValidateSource);
607 #endif
608 #if defined(LIBXML_SCHEMAS_ENABLED)
609 ZEND_METHOD(DOMDocument, relaxNGValidate);
610 #endif
611 #if defined(LIBXML_SCHEMAS_ENABLED)
612 ZEND_METHOD(DOMDocument, relaxNGValidateSource);
613 #endif
614 ZEND_METHOD(DOMDocument, validate);
615 ZEND_METHOD(DOMDocument, xinclude);
616 ZEND_METHOD(DOMDocument, adoptNode);
617 ZEND_METHOD(DOMDocument, append);
618 ZEND_METHOD(DOMDocument, prepend);
619 ZEND_METHOD(DOMText, __construct);
620 ZEND_METHOD(DOMText, isWhitespaceInElementContent);
621 ZEND_METHOD(DOMText, splitText);
622 ZEND_METHOD(DOMNamedNodeMap, getNamedItem);
623 ZEND_METHOD(DOMNamedNodeMap, getNamedItemNS);
624 ZEND_METHOD(DOMNamedNodeMap, item);
625 ZEND_METHOD(DOMNamedNodeMap, count);
626 ZEND_METHOD(DOMNamedNodeMap, getIterator);
627 ZEND_METHOD(DOMEntityReference, __construct);
628 ZEND_METHOD(DOMProcessingInstruction, __construct);
629 #if defined(LIBXML_XPATH_ENABLED)
630 ZEND_METHOD(DOMXPath, __construct);
631 #endif
632 #if defined(LIBXML_XPATH_ENABLED)
633 ZEND_METHOD(DOMXPath, evaluate);
634 #endif
635 #if defined(LIBXML_XPATH_ENABLED)
636 ZEND_METHOD(DOMXPath, query);
637 #endif
638 #if defined(LIBXML_XPATH_ENABLED)
639 ZEND_METHOD(DOMXPath, registerNamespace);
640 #endif
641 #if defined(LIBXML_XPATH_ENABLED)
642 ZEND_METHOD(DOMXPath, registerPhpFunctions);
643 #endif
644
645
646 static const zend_function_entry ext_functions[] = {
647 ZEND_FE(dom_import_simplexml, arginfo_dom_import_simplexml)
648 ZEND_FE_END
649 };
650
651
652 static const zend_function_entry class_DOMDocumentType_methods[] = {
653 ZEND_FE_END
654 };
655
656
657 static const zend_function_entry class_DOMCdataSection_methods[] = {
658 ZEND_ME(DOMCdataSection, __construct, arginfo_class_DOMCdataSection___construct, ZEND_ACC_PUBLIC)
659 ZEND_FE_END
660 };
661
662
663 static const zend_function_entry class_DOMComment_methods[] = {
664 ZEND_ME(DOMComment, __construct, arginfo_class_DOMComment___construct, ZEND_ACC_PUBLIC)
665 ZEND_FE_END
666 };
667
668
669 static const zend_function_entry class_DOMParentNode_methods[] = {
670 ZEND_ABSTRACT_ME_WITH_FLAGS(DOMParentNode, append, arginfo_class_DOMParentNode_append, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
671 ZEND_ABSTRACT_ME_WITH_FLAGS(DOMParentNode, prepend, arginfo_class_DOMParentNode_prepend, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
672 ZEND_FE_END
673 };
674
675
676 static const zend_function_entry class_DOMChildNode_methods[] = {
677 ZEND_ABSTRACT_ME_WITH_FLAGS(DOMChildNode, remove, arginfo_class_DOMChildNode_remove, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
678 ZEND_ABSTRACT_ME_WITH_FLAGS(DOMChildNode, before, arginfo_class_DOMChildNode_before, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
679 ZEND_ABSTRACT_ME_WITH_FLAGS(DOMChildNode, after, arginfo_class_DOMChildNode_after, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
680 ZEND_ABSTRACT_ME_WITH_FLAGS(DOMChildNode, replaceWith, arginfo_class_DOMChildNode_replaceWith, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
681 ZEND_FE_END
682 };
683
684
685 static const zend_function_entry class_DOMNode_methods[] = {
686 ZEND_ME(DOMNode, __sleep, arginfo_class_DOMNode___sleep, ZEND_ACC_PUBLIC)
687 ZEND_ME(DOMNode, __wakeup, arginfo_class_DOMNode___wakeup, ZEND_ACC_PUBLIC)
688 ZEND_ME(DOMNode, appendChild, arginfo_class_DOMNode_appendChild, ZEND_ACC_PUBLIC)
689 ZEND_ME(DOMNode, C14N, arginfo_class_DOMNode_C14N, ZEND_ACC_PUBLIC)
690 ZEND_ME(DOMNode, C14NFile, arginfo_class_DOMNode_C14NFile, ZEND_ACC_PUBLIC)
691 ZEND_ME(DOMNode, cloneNode, arginfo_class_DOMNode_cloneNode, ZEND_ACC_PUBLIC)
692 ZEND_ME(DOMNode, getLineNo, arginfo_class_DOMNode_getLineNo, ZEND_ACC_PUBLIC)
693 ZEND_ME(DOMNode, getNodePath, arginfo_class_DOMNode_getNodePath, ZEND_ACC_PUBLIC)
694 ZEND_ME(DOMNode, hasAttributes, arginfo_class_DOMNode_hasAttributes, ZEND_ACC_PUBLIC)
695 ZEND_ME(DOMNode, hasChildNodes, arginfo_class_DOMNode_hasChildNodes, ZEND_ACC_PUBLIC)
696 ZEND_ME(DOMNode, insertBefore, arginfo_class_DOMNode_insertBefore, ZEND_ACC_PUBLIC)
697 ZEND_ME(DOMNode, isDefaultNamespace, arginfo_class_DOMNode_isDefaultNamespace, ZEND_ACC_PUBLIC)
698 ZEND_ME(DOMNode, isSameNode, arginfo_class_DOMNode_isSameNode, ZEND_ACC_PUBLIC)
699 ZEND_ME(DOMNode, isSupported, arginfo_class_DOMNode_isSupported, ZEND_ACC_PUBLIC)
700 ZEND_ME(DOMNode, lookupNamespaceURI, arginfo_class_DOMNode_lookupNamespaceURI, ZEND_ACC_PUBLIC)
701 ZEND_ME(DOMNode, lookupPrefix, arginfo_class_DOMNode_lookupPrefix, ZEND_ACC_PUBLIC)
702 ZEND_ME(DOMNode, normalize, arginfo_class_DOMNode_normalize, ZEND_ACC_PUBLIC)
703 ZEND_ME(DOMNode, removeChild, arginfo_class_DOMNode_removeChild, ZEND_ACC_PUBLIC)
704 ZEND_ME(DOMNode, replaceChild, arginfo_class_DOMNode_replaceChild, ZEND_ACC_PUBLIC)
705 ZEND_FE_END
706 };
707
708
709 static const zend_function_entry class_DOMNameSpaceNode_methods[] = {
710 ZEND_MALIAS(DOMNode, __sleep, __sleep, arginfo_class_DOMNameSpaceNode___sleep, ZEND_ACC_PUBLIC)
711 ZEND_MALIAS(DOMNode, __wakeup, __wakeup, arginfo_class_DOMNameSpaceNode___wakeup, ZEND_ACC_PUBLIC)
712 ZEND_FE_END
713 };
714
715
716 static const zend_function_entry class_DOMImplementation_methods[] = {
717 ZEND_ME(DOMImplementation, getFeature, arginfo_class_DOMImplementation_getFeature, ZEND_ACC_PUBLIC)
718 ZEND_ME(DOMImplementation, hasFeature, arginfo_class_DOMImplementation_hasFeature, ZEND_ACC_PUBLIC)
719 ZEND_ME(DOMImplementation, createDocumentType, arginfo_class_DOMImplementation_createDocumentType, ZEND_ACC_PUBLIC)
720 ZEND_ME(DOMImplementation, createDocument, arginfo_class_DOMImplementation_createDocument, ZEND_ACC_PUBLIC)
721 ZEND_FE_END
722 };
723
724
725 static const zend_function_entry class_DOMDocumentFragment_methods[] = {
726 ZEND_ME(DOMDocumentFragment, __construct, arginfo_class_DOMDocumentFragment___construct, ZEND_ACC_PUBLIC)
727 ZEND_ME(DOMDocumentFragment, appendXML, arginfo_class_DOMDocumentFragment_appendXML, ZEND_ACC_PUBLIC)
728 ZEND_ME(DOMDocumentFragment, append, arginfo_class_DOMDocumentFragment_append, ZEND_ACC_PUBLIC)
729 ZEND_ME(DOMDocumentFragment, prepend, arginfo_class_DOMDocumentFragment_prepend, ZEND_ACC_PUBLIC)
730 ZEND_FE_END
731 };
732
733
734 static const zend_function_entry class_DOMNodeList_methods[] = {
735 ZEND_ME(DOMNodeList, count, arginfo_class_DOMNodeList_count, ZEND_ACC_PUBLIC)
736 ZEND_ME(DOMNodeList, getIterator, arginfo_class_DOMNodeList_getIterator, ZEND_ACC_PUBLIC)
737 ZEND_ME(DOMNodeList, item, arginfo_class_DOMNodeList_item, ZEND_ACC_PUBLIC)
738 ZEND_FE_END
739 };
740
741
742 static const zend_function_entry class_DOMCharacterData_methods[] = {
743 ZEND_ME(DOMCharacterData, appendData, arginfo_class_DOMCharacterData_appendData, ZEND_ACC_PUBLIC)
744 ZEND_ME(DOMCharacterData, substringData, arginfo_class_DOMCharacterData_substringData, ZEND_ACC_PUBLIC)
745 ZEND_ME(DOMCharacterData, insertData, arginfo_class_DOMCharacterData_insertData, ZEND_ACC_PUBLIC)
746 ZEND_ME(DOMCharacterData, deleteData, arginfo_class_DOMCharacterData_deleteData, ZEND_ACC_PUBLIC)
747 ZEND_ME(DOMCharacterData, replaceData, arginfo_class_DOMCharacterData_replaceData, ZEND_ACC_PUBLIC)
748 ZEND_ME(DOMCharacterData, replaceWith, arginfo_class_DOMCharacterData_replaceWith, ZEND_ACC_PUBLIC)
749 ZEND_ME(DOMCharacterData, remove, arginfo_class_DOMCharacterData_remove, ZEND_ACC_PUBLIC)
750 ZEND_ME(DOMCharacterData, before, arginfo_class_DOMCharacterData_before, ZEND_ACC_PUBLIC)
751 ZEND_ME(DOMCharacterData, after, arginfo_class_DOMCharacterData_after, ZEND_ACC_PUBLIC)
752 ZEND_FE_END
753 };
754
755
756 static const zend_function_entry class_DOMAttr_methods[] = {
757 ZEND_ME(DOMAttr, __construct, arginfo_class_DOMAttr___construct, ZEND_ACC_PUBLIC)
758 ZEND_ME(DOMAttr, isId, arginfo_class_DOMAttr_isId, ZEND_ACC_PUBLIC)
759 ZEND_FE_END
760 };
761
762
763 static const zend_function_entry class_DOMElement_methods[] = {
764 ZEND_ME(DOMElement, __construct, arginfo_class_DOMElement___construct, ZEND_ACC_PUBLIC)
765 ZEND_ME(DOMElement, getAttribute, arginfo_class_DOMElement_getAttribute, ZEND_ACC_PUBLIC)
766 ZEND_ME(DOMElement, getAttributeNS, arginfo_class_DOMElement_getAttributeNS, ZEND_ACC_PUBLIC)
767 ZEND_ME(DOMElement, getAttributeNode, arginfo_class_DOMElement_getAttributeNode, ZEND_ACC_PUBLIC)
768 ZEND_ME(DOMElement, getAttributeNodeNS, arginfo_class_DOMElement_getAttributeNodeNS, ZEND_ACC_PUBLIC)
769 ZEND_ME(DOMElement, getElementsByTagName, arginfo_class_DOMElement_getElementsByTagName, ZEND_ACC_PUBLIC)
770 ZEND_ME(DOMElement, getElementsByTagNameNS, arginfo_class_DOMElement_getElementsByTagNameNS, ZEND_ACC_PUBLIC)
771 ZEND_ME(DOMElement, hasAttribute, arginfo_class_DOMElement_hasAttribute, ZEND_ACC_PUBLIC)
772 ZEND_ME(DOMElement, hasAttributeNS, arginfo_class_DOMElement_hasAttributeNS, ZEND_ACC_PUBLIC)
773 ZEND_ME(DOMElement, removeAttribute, arginfo_class_DOMElement_removeAttribute, ZEND_ACC_PUBLIC)
774 ZEND_ME(DOMElement, removeAttributeNS, arginfo_class_DOMElement_removeAttributeNS, ZEND_ACC_PUBLIC)
775 ZEND_ME(DOMElement, removeAttributeNode, arginfo_class_DOMElement_removeAttributeNode, ZEND_ACC_PUBLIC)
776 ZEND_ME(DOMElement, setAttribute, arginfo_class_DOMElement_setAttribute, ZEND_ACC_PUBLIC)
777 ZEND_ME(DOMElement, setAttributeNS, arginfo_class_DOMElement_setAttributeNS, ZEND_ACC_PUBLIC)
778 ZEND_ME(DOMElement, setAttributeNode, arginfo_class_DOMElement_setAttributeNode, ZEND_ACC_PUBLIC)
779 ZEND_ME(DOMElement, setAttributeNodeNS, arginfo_class_DOMElement_setAttributeNodeNS, ZEND_ACC_PUBLIC)
780 ZEND_ME(DOMElement, setIdAttribute, arginfo_class_DOMElement_setIdAttribute, ZEND_ACC_PUBLIC)
781 ZEND_ME(DOMElement, setIdAttributeNS, arginfo_class_DOMElement_setIdAttributeNS, ZEND_ACC_PUBLIC)
782 ZEND_ME(DOMElement, setIdAttributeNode, arginfo_class_DOMElement_setIdAttributeNode, ZEND_ACC_PUBLIC)
783 ZEND_ME(DOMElement, remove, arginfo_class_DOMElement_remove, ZEND_ACC_PUBLIC)
784 ZEND_ME(DOMElement, before, arginfo_class_DOMElement_before, ZEND_ACC_PUBLIC)
785 ZEND_ME(DOMElement, after, arginfo_class_DOMElement_after, ZEND_ACC_PUBLIC)
786 ZEND_ME(DOMElement, replaceWith, arginfo_class_DOMElement_replaceWith, ZEND_ACC_PUBLIC)
787 ZEND_ME(DOMElement, append, arginfo_class_DOMElement_append, ZEND_ACC_PUBLIC)
788 ZEND_ME(DOMElement, prepend, arginfo_class_DOMElement_prepend, ZEND_ACC_PUBLIC)
789 ZEND_FE_END
790 };
791
792
793 static const zend_function_entry class_DOMDocument_methods[] = {
794 ZEND_ME(DOMDocument, __construct, arginfo_class_DOMDocument___construct, ZEND_ACC_PUBLIC)
795 ZEND_ME(DOMDocument, createAttribute, arginfo_class_DOMDocument_createAttribute, ZEND_ACC_PUBLIC)
796 ZEND_ME(DOMDocument, createAttributeNS, arginfo_class_DOMDocument_createAttributeNS, ZEND_ACC_PUBLIC)
797 ZEND_ME(DOMDocument, createCDATASection, arginfo_class_DOMDocument_createCDATASection, ZEND_ACC_PUBLIC)
798 ZEND_ME(DOMDocument, createComment, arginfo_class_DOMDocument_createComment, ZEND_ACC_PUBLIC)
799 ZEND_ME(DOMDocument, createDocumentFragment, arginfo_class_DOMDocument_createDocumentFragment, ZEND_ACC_PUBLIC)
800 ZEND_ME(DOMDocument, createElement, arginfo_class_DOMDocument_createElement, ZEND_ACC_PUBLIC)
801 ZEND_ME(DOMDocument, createElementNS, arginfo_class_DOMDocument_createElementNS, ZEND_ACC_PUBLIC)
802 ZEND_ME(DOMDocument, createEntityReference, arginfo_class_DOMDocument_createEntityReference, ZEND_ACC_PUBLIC)
803 ZEND_ME(DOMDocument, createProcessingInstruction, arginfo_class_DOMDocument_createProcessingInstruction, ZEND_ACC_PUBLIC)
804 ZEND_ME(DOMDocument, createTextNode, arginfo_class_DOMDocument_createTextNode, ZEND_ACC_PUBLIC)
805 ZEND_ME(DOMDocument, getElementById, arginfo_class_DOMDocument_getElementById, ZEND_ACC_PUBLIC)
806 ZEND_ME(DOMDocument, getElementsByTagName, arginfo_class_DOMDocument_getElementsByTagName, ZEND_ACC_PUBLIC)
807 ZEND_ME(DOMDocument, getElementsByTagNameNS, arginfo_class_DOMDocument_getElementsByTagNameNS, ZEND_ACC_PUBLIC)
808 ZEND_ME(DOMDocument, importNode, arginfo_class_DOMDocument_importNode, ZEND_ACC_PUBLIC)
809 ZEND_ME(DOMDocument, load, arginfo_class_DOMDocument_load, ZEND_ACC_PUBLIC)
810 ZEND_ME(DOMDocument, loadXML, arginfo_class_DOMDocument_loadXML, ZEND_ACC_PUBLIC)
811 ZEND_ME(DOMDocument, normalizeDocument, arginfo_class_DOMDocument_normalizeDocument, ZEND_ACC_PUBLIC)
812 ZEND_ME(DOMDocument, registerNodeClass, arginfo_class_DOMDocument_registerNodeClass, ZEND_ACC_PUBLIC)
813 ZEND_ME(DOMDocument, save, arginfo_class_DOMDocument_save, ZEND_ACC_PUBLIC)
814 #if defined(LIBXML_HTML_ENABLED)
815 ZEND_ME(DOMDocument, loadHTML, arginfo_class_DOMDocument_loadHTML, ZEND_ACC_PUBLIC)
816 #endif
817 #if defined(LIBXML_HTML_ENABLED)
818 ZEND_ME(DOMDocument, loadHTMLFile, arginfo_class_DOMDocument_loadHTMLFile, ZEND_ACC_PUBLIC)
819 #endif
820 #if defined(LIBXML_HTML_ENABLED)
821 ZEND_ME(DOMDocument, saveHTML, arginfo_class_DOMDocument_saveHTML, ZEND_ACC_PUBLIC)
822 #endif
823 #if defined(LIBXML_HTML_ENABLED)
824 ZEND_ME(DOMDocument, saveHTMLFile, arginfo_class_DOMDocument_saveHTMLFile, ZEND_ACC_PUBLIC)
825 #endif
826 ZEND_ME(DOMDocument, saveXML, arginfo_class_DOMDocument_saveXML, ZEND_ACC_PUBLIC)
827 #if defined(LIBXML_SCHEMAS_ENABLED)
828 ZEND_ME(DOMDocument, schemaValidate, arginfo_class_DOMDocument_schemaValidate, ZEND_ACC_PUBLIC)
829 #endif
830 #if defined(LIBXML_SCHEMAS_ENABLED)
831 ZEND_ME(DOMDocument, schemaValidateSource, arginfo_class_DOMDocument_schemaValidateSource, ZEND_ACC_PUBLIC)
832 #endif
833 #if defined(LIBXML_SCHEMAS_ENABLED)
834 ZEND_ME(DOMDocument, relaxNGValidate, arginfo_class_DOMDocument_relaxNGValidate, ZEND_ACC_PUBLIC)
835 #endif
836 #if defined(LIBXML_SCHEMAS_ENABLED)
837 ZEND_ME(DOMDocument, relaxNGValidateSource, arginfo_class_DOMDocument_relaxNGValidateSource, ZEND_ACC_PUBLIC)
838 #endif
839 ZEND_ME(DOMDocument, validate, arginfo_class_DOMDocument_validate, ZEND_ACC_PUBLIC)
840 ZEND_ME(DOMDocument, xinclude, arginfo_class_DOMDocument_xinclude, ZEND_ACC_PUBLIC)
841 ZEND_ME(DOMDocument, adoptNode, arginfo_class_DOMDocument_adoptNode, ZEND_ACC_PUBLIC)
842 ZEND_ME(DOMDocument, append, arginfo_class_DOMDocument_append, ZEND_ACC_PUBLIC)
843 ZEND_ME(DOMDocument, prepend, arginfo_class_DOMDocument_prepend, ZEND_ACC_PUBLIC)
844 ZEND_FE_END
845 };
846
847
848 static const zend_function_entry class_DOMException_methods[] = {
849 ZEND_FE_END
850 };
851
852
853 static const zend_function_entry class_DOMText_methods[] = {
854 ZEND_ME(DOMText, __construct, arginfo_class_DOMText___construct, ZEND_ACC_PUBLIC)
855 ZEND_ME(DOMText, isWhitespaceInElementContent, arginfo_class_DOMText_isWhitespaceInElementContent, ZEND_ACC_PUBLIC)
856 ZEND_MALIAS(DOMText, isElementContentWhitespace, isWhitespaceInElementContent, arginfo_class_DOMText_isElementContentWhitespace, ZEND_ACC_PUBLIC)
857 ZEND_ME(DOMText, splitText, arginfo_class_DOMText_splitText, ZEND_ACC_PUBLIC)
858 ZEND_FE_END
859 };
860
861
862 static const zend_function_entry class_DOMNamedNodeMap_methods[] = {
863 ZEND_ME(DOMNamedNodeMap, getNamedItem, arginfo_class_DOMNamedNodeMap_getNamedItem, ZEND_ACC_PUBLIC)
864 ZEND_ME(DOMNamedNodeMap, getNamedItemNS, arginfo_class_DOMNamedNodeMap_getNamedItemNS, ZEND_ACC_PUBLIC)
865 ZEND_ME(DOMNamedNodeMap, item, arginfo_class_DOMNamedNodeMap_item, ZEND_ACC_PUBLIC)
866 ZEND_ME(DOMNamedNodeMap, count, arginfo_class_DOMNamedNodeMap_count, ZEND_ACC_PUBLIC)
867 ZEND_ME(DOMNamedNodeMap, getIterator, arginfo_class_DOMNamedNodeMap_getIterator, ZEND_ACC_PUBLIC)
868 ZEND_FE_END
869 };
870
871
872 static const zend_function_entry class_DOMEntity_methods[] = {
873 ZEND_FE_END
874 };
875
876
877 static const zend_function_entry class_DOMEntityReference_methods[] = {
878 ZEND_ME(DOMEntityReference, __construct, arginfo_class_DOMEntityReference___construct, ZEND_ACC_PUBLIC)
879 ZEND_FE_END
880 };
881
882
883 static const zend_function_entry class_DOMNotation_methods[] = {
884 ZEND_FE_END
885 };
886
887
888 static const zend_function_entry class_DOMProcessingInstruction_methods[] = {
889 ZEND_ME(DOMProcessingInstruction, __construct, arginfo_class_DOMProcessingInstruction___construct, ZEND_ACC_PUBLIC)
890 ZEND_FE_END
891 };
892
893
894 static const zend_function_entry class_DOMXPath_methods[] = {
895 #if defined(LIBXML_XPATH_ENABLED)
896 ZEND_ME(DOMXPath, __construct, arginfo_class_DOMXPath___construct, ZEND_ACC_PUBLIC)
897 #endif
898 #if defined(LIBXML_XPATH_ENABLED)
899 ZEND_ME(DOMXPath, evaluate, arginfo_class_DOMXPath_evaluate, ZEND_ACC_PUBLIC)
900 #endif
901 #if defined(LIBXML_XPATH_ENABLED)
902 ZEND_ME(DOMXPath, query, arginfo_class_DOMXPath_query, ZEND_ACC_PUBLIC)
903 #endif
904 #if defined(LIBXML_XPATH_ENABLED)
905 ZEND_ME(DOMXPath, registerNamespace, arginfo_class_DOMXPath_registerNamespace, ZEND_ACC_PUBLIC)
906 #endif
907 #if defined(LIBXML_XPATH_ENABLED)
908 ZEND_ME(DOMXPath, registerPhpFunctions, arginfo_class_DOMXPath_registerPhpFunctions, ZEND_ACC_PUBLIC)
909 #endif
910 ZEND_FE_END
911 };
912
register_class_DOMDocumentType(zend_class_entry * class_entry_DOMNode)913 static zend_class_entry *register_class_DOMDocumentType(zend_class_entry *class_entry_DOMNode)
914 {
915 zend_class_entry ce, *class_entry;
916
917 INIT_CLASS_ENTRY(ce, "DOMDocumentType", class_DOMDocumentType_methods);
918 class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
919
920 zval property_name_default_value;
921 ZVAL_UNDEF(&property_name_default_value);
922 zend_string *property_name_name = zend_string_init("name", sizeof("name") - 1, 1);
923 zend_declare_typed_property(class_entry, property_name_name, &property_name_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
924 zend_string_release(property_name_name);
925
926 zend_string *property_entities_class_DOMNamedNodeMap = zend_string_init("DOMNamedNodeMap", sizeof("DOMNamedNodeMap")-1, 1);
927 zval property_entities_default_value;
928 ZVAL_UNDEF(&property_entities_default_value);
929 zend_string *property_entities_name = zend_string_init("entities", sizeof("entities") - 1, 1);
930 zend_declare_typed_property(class_entry, property_entities_name, &property_entities_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_entities_class_DOMNamedNodeMap, 0, 0));
931 zend_string_release(property_entities_name);
932
933 zend_string *property_notations_class_DOMNamedNodeMap = zend_string_init("DOMNamedNodeMap", sizeof("DOMNamedNodeMap")-1, 1);
934 zval property_notations_default_value;
935 ZVAL_UNDEF(&property_notations_default_value);
936 zend_string *property_notations_name = zend_string_init("notations", sizeof("notations") - 1, 1);
937 zend_declare_typed_property(class_entry, property_notations_name, &property_notations_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_notations_class_DOMNamedNodeMap, 0, 0));
938 zend_string_release(property_notations_name);
939
940 zval property_publicId_default_value;
941 ZVAL_UNDEF(&property_publicId_default_value);
942 zend_string *property_publicId_name = zend_string_init("publicId", sizeof("publicId") - 1, 1);
943 zend_declare_typed_property(class_entry, property_publicId_name, &property_publicId_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
944 zend_string_release(property_publicId_name);
945
946 zval property_systemId_default_value;
947 ZVAL_UNDEF(&property_systemId_default_value);
948 zend_string *property_systemId_name = zend_string_init("systemId", sizeof("systemId") - 1, 1);
949 zend_declare_typed_property(class_entry, property_systemId_name, &property_systemId_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
950 zend_string_release(property_systemId_name);
951
952 zval property_internalSubset_default_value;
953 ZVAL_UNDEF(&property_internalSubset_default_value);
954 zend_string *property_internalSubset_name = zend_string_init("internalSubset", sizeof("internalSubset") - 1, 1);
955 zend_declare_typed_property(class_entry, property_internalSubset_name, &property_internalSubset_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
956 zend_string_release(property_internalSubset_name);
957
958 return class_entry;
959 }
960
register_class_DOMCdataSection(zend_class_entry * class_entry_DOMText)961 static zend_class_entry *register_class_DOMCdataSection(zend_class_entry *class_entry_DOMText)
962 {
963 zend_class_entry ce, *class_entry;
964
965 INIT_CLASS_ENTRY(ce, "DOMCdataSection", class_DOMCdataSection_methods);
966 class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMText);
967
968 return class_entry;
969 }
970
register_class_DOMComment(zend_class_entry * class_entry_DOMCharacterData)971 static zend_class_entry *register_class_DOMComment(zend_class_entry *class_entry_DOMCharacterData)
972 {
973 zend_class_entry ce, *class_entry;
974
975 INIT_CLASS_ENTRY(ce, "DOMComment", class_DOMComment_methods);
976 class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMCharacterData);
977
978 return class_entry;
979 }
980
register_class_DOMParentNode(void)981 static zend_class_entry *register_class_DOMParentNode(void)
982 {
983 zend_class_entry ce, *class_entry;
984
985 INIT_CLASS_ENTRY(ce, "DOMParentNode", class_DOMParentNode_methods);
986 class_entry = zend_register_internal_interface(&ce);
987
988 return class_entry;
989 }
990
register_class_DOMChildNode(void)991 static zend_class_entry *register_class_DOMChildNode(void)
992 {
993 zend_class_entry ce, *class_entry;
994
995 INIT_CLASS_ENTRY(ce, "DOMChildNode", class_DOMChildNode_methods);
996 class_entry = zend_register_internal_interface(&ce);
997
998 return class_entry;
999 }
1000
register_class_DOMNode(void)1001 static zend_class_entry *register_class_DOMNode(void)
1002 {
1003 zend_class_entry ce, *class_entry;
1004
1005 INIT_CLASS_ENTRY(ce, "DOMNode", class_DOMNode_methods);
1006 class_entry = zend_register_internal_class_ex(&ce, NULL);
1007
1008 zval property_nodeName_default_value;
1009 ZVAL_UNDEF(&property_nodeName_default_value);
1010 zend_string *property_nodeName_name = zend_string_init("nodeName", sizeof("nodeName") - 1, 1);
1011 zend_declare_typed_property(class_entry, property_nodeName_name, &property_nodeName_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1012 zend_string_release(property_nodeName_name);
1013
1014 zval property_nodeValue_default_value;
1015 ZVAL_UNDEF(&property_nodeValue_default_value);
1016 zend_string *property_nodeValue_name = zend_string_init("nodeValue", sizeof("nodeValue") - 1, 1);
1017 zend_declare_typed_property(class_entry, property_nodeValue_name, &property_nodeValue_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1018 zend_string_release(property_nodeValue_name);
1019
1020 zval property_nodeType_default_value;
1021 ZVAL_UNDEF(&property_nodeType_default_value);
1022 zend_string *property_nodeType_name = zend_string_init("nodeType", sizeof("nodeType") - 1, 1);
1023 zend_declare_typed_property(class_entry, property_nodeType_name, &property_nodeType_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1024 zend_string_release(property_nodeType_name);
1025
1026 zend_string *property_parentNode_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
1027 zval property_parentNode_default_value;
1028 ZVAL_UNDEF(&property_parentNode_default_value);
1029 zend_string *property_parentNode_name = zend_string_init("parentNode", sizeof("parentNode") - 1, 1);
1030 zend_declare_typed_property(class_entry, property_parentNode_name, &property_parentNode_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_parentNode_class_DOMNode, 0, MAY_BE_NULL));
1031 zend_string_release(property_parentNode_name);
1032
1033 zend_string *property_childNodes_class_DOMNodeList = zend_string_init("DOMNodeList", sizeof("DOMNodeList")-1, 1);
1034 zval property_childNodes_default_value;
1035 ZVAL_UNDEF(&property_childNodes_default_value);
1036 zend_string *property_childNodes_name = zend_string_init("childNodes", sizeof("childNodes") - 1, 1);
1037 zend_declare_typed_property(class_entry, property_childNodes_name, &property_childNodes_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_childNodes_class_DOMNodeList, 0, 0));
1038 zend_string_release(property_childNodes_name);
1039
1040 zend_string *property_firstChild_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
1041 zval property_firstChild_default_value;
1042 ZVAL_UNDEF(&property_firstChild_default_value);
1043 zend_string *property_firstChild_name = zend_string_init("firstChild", sizeof("firstChild") - 1, 1);
1044 zend_declare_typed_property(class_entry, property_firstChild_name, &property_firstChild_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_firstChild_class_DOMNode, 0, MAY_BE_NULL));
1045 zend_string_release(property_firstChild_name);
1046
1047 zend_string *property_lastChild_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
1048 zval property_lastChild_default_value;
1049 ZVAL_UNDEF(&property_lastChild_default_value);
1050 zend_string *property_lastChild_name = zend_string_init("lastChild", sizeof("lastChild") - 1, 1);
1051 zend_declare_typed_property(class_entry, property_lastChild_name, &property_lastChild_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_lastChild_class_DOMNode, 0, MAY_BE_NULL));
1052 zend_string_release(property_lastChild_name);
1053
1054 zend_string *property_previousSibling_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
1055 zval property_previousSibling_default_value;
1056 ZVAL_UNDEF(&property_previousSibling_default_value);
1057 zend_string *property_previousSibling_name = zend_string_init("previousSibling", sizeof("previousSibling") - 1, 1);
1058 zend_declare_typed_property(class_entry, property_previousSibling_name, &property_previousSibling_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_previousSibling_class_DOMNode, 0, MAY_BE_NULL));
1059 zend_string_release(property_previousSibling_name);
1060
1061 zend_string *property_nextSibling_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
1062 zval property_nextSibling_default_value;
1063 ZVAL_UNDEF(&property_nextSibling_default_value);
1064 zend_string *property_nextSibling_name = zend_string_init("nextSibling", sizeof("nextSibling") - 1, 1);
1065 zend_declare_typed_property(class_entry, property_nextSibling_name, &property_nextSibling_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_nextSibling_class_DOMNode, 0, MAY_BE_NULL));
1066 zend_string_release(property_nextSibling_name);
1067
1068 zend_string *property_attributes_class_DOMNamedNodeMap = zend_string_init("DOMNamedNodeMap", sizeof("DOMNamedNodeMap")-1, 1);
1069 zval property_attributes_default_value;
1070 ZVAL_UNDEF(&property_attributes_default_value);
1071 zend_string *property_attributes_name = zend_string_init("attributes", sizeof("attributes") - 1, 1);
1072 zend_declare_typed_property(class_entry, property_attributes_name, &property_attributes_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_attributes_class_DOMNamedNodeMap, 0, MAY_BE_NULL));
1073 zend_string_release(property_attributes_name);
1074
1075 zend_string *property_ownerDocument_class_DOMDocument = zend_string_init("DOMDocument", sizeof("DOMDocument")-1, 1);
1076 zval property_ownerDocument_default_value;
1077 ZVAL_UNDEF(&property_ownerDocument_default_value);
1078 zend_string *property_ownerDocument_name = zend_string_init("ownerDocument", sizeof("ownerDocument") - 1, 1);
1079 zend_declare_typed_property(class_entry, property_ownerDocument_name, &property_ownerDocument_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_ownerDocument_class_DOMDocument, 0, MAY_BE_NULL));
1080 zend_string_release(property_ownerDocument_name);
1081
1082 zval property_namespaceURI_default_value;
1083 ZVAL_UNDEF(&property_namespaceURI_default_value);
1084 zend_string *property_namespaceURI_name = zend_string_init("namespaceURI", sizeof("namespaceURI") - 1, 1);
1085 zend_declare_typed_property(class_entry, property_namespaceURI_name, &property_namespaceURI_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1086 zend_string_release(property_namespaceURI_name);
1087
1088 zval property_prefix_default_value;
1089 ZVAL_UNDEF(&property_prefix_default_value);
1090 zend_string *property_prefix_name = zend_string_init("prefix", sizeof("prefix") - 1, 1);
1091 zend_declare_typed_property(class_entry, property_prefix_name, &property_prefix_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1092 zend_string_release(property_prefix_name);
1093
1094 zval property_localName_default_value;
1095 ZVAL_UNDEF(&property_localName_default_value);
1096 zend_string *property_localName_name = zend_string_init("localName", sizeof("localName") - 1, 1);
1097 zend_declare_typed_property(class_entry, property_localName_name, &property_localName_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1098 zend_string_release(property_localName_name);
1099
1100 zval property_baseURI_default_value;
1101 ZVAL_UNDEF(&property_baseURI_default_value);
1102 zend_string *property_baseURI_name = zend_string_init("baseURI", sizeof("baseURI") - 1, 1);
1103 zend_declare_typed_property(class_entry, property_baseURI_name, &property_baseURI_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1104 zend_string_release(property_baseURI_name);
1105
1106 zval property_textContent_default_value;
1107 ZVAL_UNDEF(&property_textContent_default_value);
1108 zend_string *property_textContent_name = zend_string_init("textContent", sizeof("textContent") - 1, 1);
1109 zend_declare_typed_property(class_entry, property_textContent_name, &property_textContent_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1110 zend_string_release(property_textContent_name);
1111
1112 return class_entry;
1113 }
1114
register_class_DOMNameSpaceNode(void)1115 static zend_class_entry *register_class_DOMNameSpaceNode(void)
1116 {
1117 zend_class_entry ce, *class_entry;
1118
1119 INIT_CLASS_ENTRY(ce, "DOMNameSpaceNode", class_DOMNameSpaceNode_methods);
1120 class_entry = zend_register_internal_class_ex(&ce, NULL);
1121
1122 zval property_nodeName_default_value;
1123 ZVAL_UNDEF(&property_nodeName_default_value);
1124 zend_string *property_nodeName_name = zend_string_init("nodeName", sizeof("nodeName") - 1, 1);
1125 zend_declare_typed_property(class_entry, property_nodeName_name, &property_nodeName_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1126 zend_string_release(property_nodeName_name);
1127
1128 zval property_nodeValue_default_value;
1129 ZVAL_UNDEF(&property_nodeValue_default_value);
1130 zend_string *property_nodeValue_name = zend_string_init("nodeValue", sizeof("nodeValue") - 1, 1);
1131 zend_declare_typed_property(class_entry, property_nodeValue_name, &property_nodeValue_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1132 zend_string_release(property_nodeValue_name);
1133
1134 zval property_nodeType_default_value;
1135 ZVAL_UNDEF(&property_nodeType_default_value);
1136 zend_string *property_nodeType_name = zend_string_init("nodeType", sizeof("nodeType") - 1, 1);
1137 zend_declare_typed_property(class_entry, property_nodeType_name, &property_nodeType_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1138 zend_string_release(property_nodeType_name);
1139
1140 zval property_prefix_default_value;
1141 ZVAL_UNDEF(&property_prefix_default_value);
1142 zend_string *property_prefix_name = zend_string_init("prefix", sizeof("prefix") - 1, 1);
1143 zend_declare_typed_property(class_entry, property_prefix_name, &property_prefix_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1144 zend_string_release(property_prefix_name);
1145
1146 zval property_localName_default_value;
1147 ZVAL_UNDEF(&property_localName_default_value);
1148 zend_string *property_localName_name = zend_string_init("localName", sizeof("localName") - 1, 1);
1149 zend_declare_typed_property(class_entry, property_localName_name, &property_localName_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1150 zend_string_release(property_localName_name);
1151
1152 zval property_namespaceURI_default_value;
1153 ZVAL_UNDEF(&property_namespaceURI_default_value);
1154 zend_string *property_namespaceURI_name = zend_string_init("namespaceURI", sizeof("namespaceURI") - 1, 1);
1155 zend_declare_typed_property(class_entry, property_namespaceURI_name, &property_namespaceURI_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1156 zend_string_release(property_namespaceURI_name);
1157
1158 zend_string *property_ownerDocument_class_DOMDocument = zend_string_init("DOMDocument", sizeof("DOMDocument")-1, 1);
1159 zval property_ownerDocument_default_value;
1160 ZVAL_UNDEF(&property_ownerDocument_default_value);
1161 zend_string *property_ownerDocument_name = zend_string_init("ownerDocument", sizeof("ownerDocument") - 1, 1);
1162 zend_declare_typed_property(class_entry, property_ownerDocument_name, &property_ownerDocument_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_ownerDocument_class_DOMDocument, 0, MAY_BE_NULL));
1163 zend_string_release(property_ownerDocument_name);
1164
1165 zend_string *property_parentNode_class_DOMNode = zend_string_init("DOMNode", sizeof("DOMNode")-1, 1);
1166 zval property_parentNode_default_value;
1167 ZVAL_UNDEF(&property_parentNode_default_value);
1168 zend_string *property_parentNode_name = zend_string_init("parentNode", sizeof("parentNode") - 1, 1);
1169 zend_declare_typed_property(class_entry, property_parentNode_name, &property_parentNode_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_parentNode_class_DOMNode, 0, MAY_BE_NULL));
1170 zend_string_release(property_parentNode_name);
1171
1172 return class_entry;
1173 }
1174
register_class_DOMImplementation(void)1175 static zend_class_entry *register_class_DOMImplementation(void)
1176 {
1177 zend_class_entry ce, *class_entry;
1178
1179 INIT_CLASS_ENTRY(ce, "DOMImplementation", class_DOMImplementation_methods);
1180 class_entry = zend_register_internal_class_ex(&ce, NULL);
1181
1182 return class_entry;
1183 }
1184
register_class_DOMDocumentFragment(zend_class_entry * class_entry_DOMNode,zend_class_entry * class_entry_DOMParentNode)1185 static zend_class_entry *register_class_DOMDocumentFragment(zend_class_entry *class_entry_DOMNode, zend_class_entry *class_entry_DOMParentNode)
1186 {
1187 zend_class_entry ce, *class_entry;
1188
1189 INIT_CLASS_ENTRY(ce, "DOMDocumentFragment", class_DOMDocumentFragment_methods);
1190 class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
1191 zend_class_implements(class_entry, 1, class_entry_DOMParentNode);
1192
1193 zend_string *property_firstElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
1194 zval property_firstElementChild_default_value;
1195 ZVAL_UNDEF(&property_firstElementChild_default_value);
1196 zend_string *property_firstElementChild_name = zend_string_init("firstElementChild", sizeof("firstElementChild") - 1, 1);
1197 zend_declare_typed_property(class_entry, property_firstElementChild_name, &property_firstElementChild_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_firstElementChild_class_DOMElement, 0, MAY_BE_NULL));
1198 zend_string_release(property_firstElementChild_name);
1199
1200 zend_string *property_lastElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
1201 zval property_lastElementChild_default_value;
1202 ZVAL_UNDEF(&property_lastElementChild_default_value);
1203 zend_string *property_lastElementChild_name = zend_string_init("lastElementChild", sizeof("lastElementChild") - 1, 1);
1204 zend_declare_typed_property(class_entry, property_lastElementChild_name, &property_lastElementChild_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_lastElementChild_class_DOMElement, 0, MAY_BE_NULL));
1205 zend_string_release(property_lastElementChild_name);
1206
1207 zval property_childElementCount_default_value;
1208 ZVAL_UNDEF(&property_childElementCount_default_value);
1209 zend_string *property_childElementCount_name = zend_string_init("childElementCount", sizeof("childElementCount") - 1, 1);
1210 zend_declare_typed_property(class_entry, property_childElementCount_name, &property_childElementCount_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1211 zend_string_release(property_childElementCount_name);
1212
1213 return class_entry;
1214 }
1215
register_class_DOMNodeList(zend_class_entry * class_entry_IteratorAggregate,zend_class_entry * class_entry_Countable)1216 static zend_class_entry *register_class_DOMNodeList(zend_class_entry *class_entry_IteratorAggregate, zend_class_entry *class_entry_Countable)
1217 {
1218 zend_class_entry ce, *class_entry;
1219
1220 INIT_CLASS_ENTRY(ce, "DOMNodeList", class_DOMNodeList_methods);
1221 class_entry = zend_register_internal_class_ex(&ce, NULL);
1222 zend_class_implements(class_entry, 2, class_entry_IteratorAggregate, class_entry_Countable);
1223
1224 zval property_length_default_value;
1225 ZVAL_UNDEF(&property_length_default_value);
1226 zend_string *property_length_name = zend_string_init("length", sizeof("length") - 1, 1);
1227 zend_declare_typed_property(class_entry, property_length_name, &property_length_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1228 zend_string_release(property_length_name);
1229
1230 return class_entry;
1231 }
1232
register_class_DOMCharacterData(zend_class_entry * class_entry_DOMNode,zend_class_entry * class_entry_DOMChildNode)1233 static zend_class_entry *register_class_DOMCharacterData(zend_class_entry *class_entry_DOMNode, zend_class_entry *class_entry_DOMChildNode)
1234 {
1235 zend_class_entry ce, *class_entry;
1236
1237 INIT_CLASS_ENTRY(ce, "DOMCharacterData", class_DOMCharacterData_methods);
1238 class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
1239 zend_class_implements(class_entry, 1, class_entry_DOMChildNode);
1240
1241 zval property_data_default_value;
1242 ZVAL_UNDEF(&property_data_default_value);
1243 zend_string *property_data_name = zend_string_init("data", sizeof("data") - 1, 1);
1244 zend_declare_typed_property(class_entry, property_data_name, &property_data_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1245 zend_string_release(property_data_name);
1246
1247 zval property_length_default_value;
1248 ZVAL_UNDEF(&property_length_default_value);
1249 zend_string *property_length_name = zend_string_init("length", sizeof("length") - 1, 1);
1250 zend_declare_typed_property(class_entry, property_length_name, &property_length_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1251 zend_string_release(property_length_name);
1252
1253 zend_string *property_previousElementSibling_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
1254 zval property_previousElementSibling_default_value;
1255 ZVAL_UNDEF(&property_previousElementSibling_default_value);
1256 zend_string *property_previousElementSibling_name = zend_string_init("previousElementSibling", sizeof("previousElementSibling") - 1, 1);
1257 zend_declare_typed_property(class_entry, property_previousElementSibling_name, &property_previousElementSibling_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_previousElementSibling_class_DOMElement, 0, MAY_BE_NULL));
1258 zend_string_release(property_previousElementSibling_name);
1259
1260 zend_string *property_nextElementSibling_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
1261 zval property_nextElementSibling_default_value;
1262 ZVAL_UNDEF(&property_nextElementSibling_default_value);
1263 zend_string *property_nextElementSibling_name = zend_string_init("nextElementSibling", sizeof("nextElementSibling") - 1, 1);
1264 zend_declare_typed_property(class_entry, property_nextElementSibling_name, &property_nextElementSibling_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_nextElementSibling_class_DOMElement, 0, MAY_BE_NULL));
1265 zend_string_release(property_nextElementSibling_name);
1266
1267 return class_entry;
1268 }
1269
register_class_DOMAttr(zend_class_entry * class_entry_DOMNode)1270 static zend_class_entry *register_class_DOMAttr(zend_class_entry *class_entry_DOMNode)
1271 {
1272 zend_class_entry ce, *class_entry;
1273
1274 INIT_CLASS_ENTRY(ce, "DOMAttr", class_DOMAttr_methods);
1275 class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
1276
1277 zval property_name_default_value;
1278 ZVAL_UNDEF(&property_name_default_value);
1279 zend_string *property_name_name = zend_string_init("name", sizeof("name") - 1, 1);
1280 zend_declare_typed_property(class_entry, property_name_name, &property_name_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1281 zend_string_release(property_name_name);
1282
1283 zval property_specified_default_value;
1284 ZVAL_BOOL(&property_specified_default_value, 1);
1285 zend_string *property_specified_name = zend_string_init("specified", sizeof("specified") - 1, 1);
1286 zend_declare_typed_property(class_entry, property_specified_name, &property_specified_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1287 zend_string_release(property_specified_name);
1288
1289 zval property_value_default_value;
1290 ZVAL_UNDEF(&property_value_default_value);
1291 zend_string *property_value_name = zend_string_init("value", sizeof("value") - 1, 1);
1292 zend_declare_typed_property(class_entry, property_value_name, &property_value_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1293 zend_string_release(property_value_name);
1294
1295 zend_string *property_ownerElement_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
1296 zval property_ownerElement_default_value;
1297 ZVAL_UNDEF(&property_ownerElement_default_value);
1298 zend_string *property_ownerElement_name = zend_string_init("ownerElement", sizeof("ownerElement") - 1, 1);
1299 zend_declare_typed_property(class_entry, property_ownerElement_name, &property_ownerElement_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_ownerElement_class_DOMElement, 0, MAY_BE_NULL));
1300 zend_string_release(property_ownerElement_name);
1301
1302 zval property_schemaTypeInfo_default_value;
1303 ZVAL_NULL(&property_schemaTypeInfo_default_value);
1304 zend_string *property_schemaTypeInfo_name = zend_string_init("schemaTypeInfo", sizeof("schemaTypeInfo") - 1, 1);
1305 zend_declare_typed_property(class_entry, property_schemaTypeInfo_name, &property_schemaTypeInfo_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY));
1306 zend_string_release(property_schemaTypeInfo_name);
1307
1308 return class_entry;
1309 }
1310
register_class_DOMElement(zend_class_entry * class_entry_DOMNode,zend_class_entry * class_entry_DOMParentNode,zend_class_entry * class_entry_DOMChildNode)1311 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)
1312 {
1313 zend_class_entry ce, *class_entry;
1314
1315 INIT_CLASS_ENTRY(ce, "DOMElement", class_DOMElement_methods);
1316 class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
1317 zend_class_implements(class_entry, 2, class_entry_DOMParentNode, class_entry_DOMChildNode);
1318
1319 zval property_tagName_default_value;
1320 ZVAL_UNDEF(&property_tagName_default_value);
1321 zend_string *property_tagName_name = zend_string_init("tagName", sizeof("tagName") - 1, 1);
1322 zend_declare_typed_property(class_entry, property_tagName_name, &property_tagName_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1323 zend_string_release(property_tagName_name);
1324
1325 zval property_schemaTypeInfo_default_value;
1326 ZVAL_NULL(&property_schemaTypeInfo_default_value);
1327 zend_string *property_schemaTypeInfo_name = zend_string_init("schemaTypeInfo", sizeof("schemaTypeInfo") - 1, 1);
1328 zend_declare_typed_property(class_entry, property_schemaTypeInfo_name, &property_schemaTypeInfo_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY));
1329 zend_string_release(property_schemaTypeInfo_name);
1330
1331 zend_string *property_firstElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
1332 zval property_firstElementChild_default_value;
1333 ZVAL_UNDEF(&property_firstElementChild_default_value);
1334 zend_string *property_firstElementChild_name = zend_string_init("firstElementChild", sizeof("firstElementChild") - 1, 1);
1335 zend_declare_typed_property(class_entry, property_firstElementChild_name, &property_firstElementChild_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_firstElementChild_class_DOMElement, 0, MAY_BE_NULL));
1336 zend_string_release(property_firstElementChild_name);
1337
1338 zend_string *property_lastElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
1339 zval property_lastElementChild_default_value;
1340 ZVAL_UNDEF(&property_lastElementChild_default_value);
1341 zend_string *property_lastElementChild_name = zend_string_init("lastElementChild", sizeof("lastElementChild") - 1, 1);
1342 zend_declare_typed_property(class_entry, property_lastElementChild_name, &property_lastElementChild_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_lastElementChild_class_DOMElement, 0, MAY_BE_NULL));
1343 zend_string_release(property_lastElementChild_name);
1344
1345 zval property_childElementCount_default_value;
1346 ZVAL_UNDEF(&property_childElementCount_default_value);
1347 zend_string *property_childElementCount_name = zend_string_init("childElementCount", sizeof("childElementCount") - 1, 1);
1348 zend_declare_typed_property(class_entry, property_childElementCount_name, &property_childElementCount_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1349 zend_string_release(property_childElementCount_name);
1350
1351 zend_string *property_previousElementSibling_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
1352 zval property_previousElementSibling_default_value;
1353 ZVAL_UNDEF(&property_previousElementSibling_default_value);
1354 zend_string *property_previousElementSibling_name = zend_string_init("previousElementSibling", sizeof("previousElementSibling") - 1, 1);
1355 zend_declare_typed_property(class_entry, property_previousElementSibling_name, &property_previousElementSibling_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_previousElementSibling_class_DOMElement, 0, MAY_BE_NULL));
1356 zend_string_release(property_previousElementSibling_name);
1357
1358 zend_string *property_nextElementSibling_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
1359 zval property_nextElementSibling_default_value;
1360 ZVAL_UNDEF(&property_nextElementSibling_default_value);
1361 zend_string *property_nextElementSibling_name = zend_string_init("nextElementSibling", sizeof("nextElementSibling") - 1, 1);
1362 zend_declare_typed_property(class_entry, property_nextElementSibling_name, &property_nextElementSibling_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_nextElementSibling_class_DOMElement, 0, MAY_BE_NULL));
1363 zend_string_release(property_nextElementSibling_name);
1364
1365 return class_entry;
1366 }
1367
register_class_DOMDocument(zend_class_entry * class_entry_DOMNode,zend_class_entry * class_entry_DOMParentNode)1368 static zend_class_entry *register_class_DOMDocument(zend_class_entry *class_entry_DOMNode, zend_class_entry *class_entry_DOMParentNode)
1369 {
1370 zend_class_entry ce, *class_entry;
1371
1372 INIT_CLASS_ENTRY(ce, "DOMDocument", class_DOMDocument_methods);
1373 class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
1374 zend_class_implements(class_entry, 1, class_entry_DOMParentNode);
1375
1376 zend_string *property_doctype_class_DOMDocumentType = zend_string_init("DOMDocumentType", sizeof("DOMDocumentType")-1, 1);
1377 zval property_doctype_default_value;
1378 ZVAL_UNDEF(&property_doctype_default_value);
1379 zend_string *property_doctype_name = zend_string_init("doctype", sizeof("doctype") - 1, 1);
1380 zend_declare_typed_property(class_entry, property_doctype_name, &property_doctype_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_doctype_class_DOMDocumentType, 0, MAY_BE_NULL));
1381 zend_string_release(property_doctype_name);
1382
1383 zend_string *property_implementation_class_DOMImplementation = zend_string_init("DOMImplementation", sizeof("DOMImplementation")-1, 1);
1384 zval property_implementation_default_value;
1385 ZVAL_UNDEF(&property_implementation_default_value);
1386 zend_string *property_implementation_name = zend_string_init("implementation", sizeof("implementation") - 1, 1);
1387 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_DOMImplementation, 0, 0));
1388 zend_string_release(property_implementation_name);
1389
1390 zend_string *property_documentElement_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
1391 zval property_documentElement_default_value;
1392 ZVAL_UNDEF(&property_documentElement_default_value);
1393 zend_string *property_documentElement_name = zend_string_init("documentElement", sizeof("documentElement") - 1, 1);
1394 zend_declare_typed_property(class_entry, property_documentElement_name, &property_documentElement_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_documentElement_class_DOMElement, 0, MAY_BE_NULL));
1395 zend_string_release(property_documentElement_name);
1396
1397 zval property_actualEncoding_default_value;
1398 ZVAL_UNDEF(&property_actualEncoding_default_value);
1399 zend_string *property_actualEncoding_name = zend_string_init("actualEncoding", sizeof("actualEncoding") - 1, 1);
1400 zend_declare_typed_property(class_entry, property_actualEncoding_name, &property_actualEncoding_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1401 zend_string_release(property_actualEncoding_name);
1402
1403 zval property_encoding_default_value;
1404 ZVAL_UNDEF(&property_encoding_default_value);
1405 zend_string *property_encoding_name = zend_string_init("encoding", sizeof("encoding") - 1, 1);
1406 zend_declare_typed_property(class_entry, property_encoding_name, &property_encoding_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1407 zend_string_release(property_encoding_name);
1408
1409 zval property_xmlEncoding_default_value;
1410 ZVAL_UNDEF(&property_xmlEncoding_default_value);
1411 zend_string *property_xmlEncoding_name = zend_string_init("xmlEncoding", sizeof("xmlEncoding") - 1, 1);
1412 zend_declare_typed_property(class_entry, property_xmlEncoding_name, &property_xmlEncoding_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1413 zend_string_release(property_xmlEncoding_name);
1414
1415 zval property_standalone_default_value;
1416 ZVAL_UNDEF(&property_standalone_default_value);
1417 zend_string *property_standalone_name = zend_string_init("standalone", sizeof("standalone") - 1, 1);
1418 zend_declare_typed_property(class_entry, property_standalone_name, &property_standalone_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1419 zend_string_release(property_standalone_name);
1420
1421 zval property_xmlStandalone_default_value;
1422 ZVAL_UNDEF(&property_xmlStandalone_default_value);
1423 zend_string *property_xmlStandalone_name = zend_string_init("xmlStandalone", sizeof("xmlStandalone") - 1, 1);
1424 zend_declare_typed_property(class_entry, property_xmlStandalone_name, &property_xmlStandalone_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1425 zend_string_release(property_xmlStandalone_name);
1426
1427 zval property_version_default_value;
1428 ZVAL_UNDEF(&property_version_default_value);
1429 zend_string *property_version_name = zend_string_init("version", sizeof("version") - 1, 1);
1430 zend_declare_typed_property(class_entry, property_version_name, &property_version_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1431 zend_string_release(property_version_name);
1432
1433 zval property_xmlVersion_default_value;
1434 ZVAL_UNDEF(&property_xmlVersion_default_value);
1435 zend_string *property_xmlVersion_name = zend_string_init("xmlVersion", sizeof("xmlVersion") - 1, 1);
1436 zend_declare_typed_property(class_entry, property_xmlVersion_name, &property_xmlVersion_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1437 zend_string_release(property_xmlVersion_name);
1438
1439 zval property_strictErrorChecking_default_value;
1440 ZVAL_UNDEF(&property_strictErrorChecking_default_value);
1441 zend_string *property_strictErrorChecking_name = zend_string_init("strictErrorChecking", sizeof("strictErrorChecking") - 1, 1);
1442 zend_declare_typed_property(class_entry, property_strictErrorChecking_name, &property_strictErrorChecking_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1443 zend_string_release(property_strictErrorChecking_name);
1444
1445 zval property_documentURI_default_value;
1446 ZVAL_UNDEF(&property_documentURI_default_value);
1447 zend_string *property_documentURI_name = zend_string_init("documentURI", sizeof("documentURI") - 1, 1);
1448 zend_declare_typed_property(class_entry, property_documentURI_name, &property_documentURI_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1449 zend_string_release(property_documentURI_name);
1450
1451 zval property_config_default_value;
1452 ZVAL_UNDEF(&property_config_default_value);
1453 zend_string *property_config_name = zend_string_init("config", sizeof("config") - 1, 1);
1454 zend_declare_typed_property(class_entry, property_config_name, &property_config_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY));
1455 zend_string_release(property_config_name);
1456
1457 zval property_formatOutput_default_value;
1458 ZVAL_UNDEF(&property_formatOutput_default_value);
1459 zend_string *property_formatOutput_name = zend_string_init("formatOutput", sizeof("formatOutput") - 1, 1);
1460 zend_declare_typed_property(class_entry, property_formatOutput_name, &property_formatOutput_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1461 zend_string_release(property_formatOutput_name);
1462
1463 zval property_validateOnParse_default_value;
1464 ZVAL_UNDEF(&property_validateOnParse_default_value);
1465 zend_string *property_validateOnParse_name = zend_string_init("validateOnParse", sizeof("validateOnParse") - 1, 1);
1466 zend_declare_typed_property(class_entry, property_validateOnParse_name, &property_validateOnParse_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1467 zend_string_release(property_validateOnParse_name);
1468
1469 zval property_resolveExternals_default_value;
1470 ZVAL_UNDEF(&property_resolveExternals_default_value);
1471 zend_string *property_resolveExternals_name = zend_string_init("resolveExternals", sizeof("resolveExternals") - 1, 1);
1472 zend_declare_typed_property(class_entry, property_resolveExternals_name, &property_resolveExternals_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1473 zend_string_release(property_resolveExternals_name);
1474
1475 zval property_preserveWhiteSpace_default_value;
1476 ZVAL_UNDEF(&property_preserveWhiteSpace_default_value);
1477 zend_string *property_preserveWhiteSpace_name = zend_string_init("preserveWhiteSpace", sizeof("preserveWhiteSpace") - 1, 1);
1478 zend_declare_typed_property(class_entry, property_preserveWhiteSpace_name, &property_preserveWhiteSpace_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1479 zend_string_release(property_preserveWhiteSpace_name);
1480
1481 zval property_recover_default_value;
1482 ZVAL_UNDEF(&property_recover_default_value);
1483 zend_string *property_recover_name = zend_string_init("recover", sizeof("recover") - 1, 1);
1484 zend_declare_typed_property(class_entry, property_recover_name, &property_recover_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1485 zend_string_release(property_recover_name);
1486
1487 zval property_substituteEntities_default_value;
1488 ZVAL_UNDEF(&property_substituteEntities_default_value);
1489 zend_string *property_substituteEntities_name = zend_string_init("substituteEntities", sizeof("substituteEntities") - 1, 1);
1490 zend_declare_typed_property(class_entry, property_substituteEntities_name, &property_substituteEntities_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1491 zend_string_release(property_substituteEntities_name);
1492
1493 zend_string *property_firstElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
1494 zval property_firstElementChild_default_value;
1495 ZVAL_UNDEF(&property_firstElementChild_default_value);
1496 zend_string *property_firstElementChild_name = zend_string_init("firstElementChild", sizeof("firstElementChild") - 1, 1);
1497 zend_declare_typed_property(class_entry, property_firstElementChild_name, &property_firstElementChild_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_firstElementChild_class_DOMElement, 0, MAY_BE_NULL));
1498 zend_string_release(property_firstElementChild_name);
1499
1500 zend_string *property_lastElementChild_class_DOMElement = zend_string_init("DOMElement", sizeof("DOMElement")-1, 1);
1501 zval property_lastElementChild_default_value;
1502 ZVAL_UNDEF(&property_lastElementChild_default_value);
1503 zend_string *property_lastElementChild_name = zend_string_init("lastElementChild", sizeof("lastElementChild") - 1, 1);
1504 zend_declare_typed_property(class_entry, property_lastElementChild_name, &property_lastElementChild_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_lastElementChild_class_DOMElement, 0, MAY_BE_NULL));
1505 zend_string_release(property_lastElementChild_name);
1506
1507 zval property_childElementCount_default_value;
1508 ZVAL_UNDEF(&property_childElementCount_default_value);
1509 zend_string *property_childElementCount_name = zend_string_init("childElementCount", sizeof("childElementCount") - 1, 1);
1510 zend_declare_typed_property(class_entry, property_childElementCount_name, &property_childElementCount_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1511 zend_string_release(property_childElementCount_name);
1512
1513 return class_entry;
1514 }
1515
register_class_DOMException(zend_class_entry * class_entry_Exception)1516 static zend_class_entry *register_class_DOMException(zend_class_entry *class_entry_Exception)
1517 {
1518 zend_class_entry ce, *class_entry;
1519
1520 INIT_CLASS_ENTRY(ce, "DOMException", class_DOMException_methods);
1521 class_entry = zend_register_internal_class_ex(&ce, class_entry_Exception);
1522 class_entry->ce_flags |= ZEND_ACC_FINAL;
1523
1524 zval property_code_default_value;
1525 ZVAL_LONG(&property_code_default_value, 0);
1526 zend_string *property_code_name = zend_string_init("code", sizeof("code") - 1, 1);
1527 zend_declare_property_ex(class_entry, property_code_name, &property_code_default_value, ZEND_ACC_PUBLIC, NULL);
1528 zend_string_release(property_code_name);
1529
1530 return class_entry;
1531 }
1532
register_class_DOMText(zend_class_entry * class_entry_DOMCharacterData)1533 static zend_class_entry *register_class_DOMText(zend_class_entry *class_entry_DOMCharacterData)
1534 {
1535 zend_class_entry ce, *class_entry;
1536
1537 INIT_CLASS_ENTRY(ce, "DOMText", class_DOMText_methods);
1538 class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMCharacterData);
1539
1540 zval property_wholeText_default_value;
1541 ZVAL_UNDEF(&property_wholeText_default_value);
1542 zend_string *property_wholeText_name = zend_string_init("wholeText", sizeof("wholeText") - 1, 1);
1543 zend_declare_typed_property(class_entry, property_wholeText_name, &property_wholeText_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1544 zend_string_release(property_wholeText_name);
1545
1546 return class_entry;
1547 }
1548
register_class_DOMNamedNodeMap(zend_class_entry * class_entry_IteratorAggregate,zend_class_entry * class_entry_Countable)1549 static zend_class_entry *register_class_DOMNamedNodeMap(zend_class_entry *class_entry_IteratorAggregate, zend_class_entry *class_entry_Countable)
1550 {
1551 zend_class_entry ce, *class_entry;
1552
1553 INIT_CLASS_ENTRY(ce, "DOMNamedNodeMap", class_DOMNamedNodeMap_methods);
1554 class_entry = zend_register_internal_class_ex(&ce, NULL);
1555 zend_class_implements(class_entry, 2, class_entry_IteratorAggregate, class_entry_Countable);
1556
1557 zval property_length_default_value;
1558 ZVAL_UNDEF(&property_length_default_value);
1559 zend_string *property_length_name = zend_string_init("length", sizeof("length") - 1, 1);
1560 zend_declare_typed_property(class_entry, property_length_name, &property_length_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1561 zend_string_release(property_length_name);
1562
1563 return class_entry;
1564 }
1565
register_class_DOMEntity(zend_class_entry * class_entry_DOMNode)1566 static zend_class_entry *register_class_DOMEntity(zend_class_entry *class_entry_DOMNode)
1567 {
1568 zend_class_entry ce, *class_entry;
1569
1570 INIT_CLASS_ENTRY(ce, "DOMEntity", class_DOMEntity_methods);
1571 class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
1572
1573 zval property_publicId_default_value;
1574 ZVAL_UNDEF(&property_publicId_default_value);
1575 zend_string *property_publicId_name = zend_string_init("publicId", sizeof("publicId") - 1, 1);
1576 zend_declare_typed_property(class_entry, property_publicId_name, &property_publicId_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1577 zend_string_release(property_publicId_name);
1578
1579 zval property_systemId_default_value;
1580 ZVAL_UNDEF(&property_systemId_default_value);
1581 zend_string *property_systemId_name = zend_string_init("systemId", sizeof("systemId") - 1, 1);
1582 zend_declare_typed_property(class_entry, property_systemId_name, &property_systemId_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1583 zend_string_release(property_systemId_name);
1584
1585 zval property_notationName_default_value;
1586 ZVAL_UNDEF(&property_notationName_default_value);
1587 zend_string *property_notationName_name = zend_string_init("notationName", sizeof("notationName") - 1, 1);
1588 zend_declare_typed_property(class_entry, property_notationName_name, &property_notationName_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1589 zend_string_release(property_notationName_name);
1590
1591 zval property_actualEncoding_default_value;
1592 ZVAL_NULL(&property_actualEncoding_default_value);
1593 zend_string *property_actualEncoding_name = zend_string_init("actualEncoding", sizeof("actualEncoding") - 1, 1);
1594 zend_declare_typed_property(class_entry, property_actualEncoding_name, &property_actualEncoding_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1595 zend_string_release(property_actualEncoding_name);
1596
1597 zval property_encoding_default_value;
1598 ZVAL_NULL(&property_encoding_default_value);
1599 zend_string *property_encoding_name = zend_string_init("encoding", sizeof("encoding") - 1, 1);
1600 zend_declare_typed_property(class_entry, property_encoding_name, &property_encoding_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1601 zend_string_release(property_encoding_name);
1602
1603 zval property_version_default_value;
1604 ZVAL_NULL(&property_version_default_value);
1605 zend_string *property_version_name = zend_string_init("version", sizeof("version") - 1, 1);
1606 zend_declare_typed_property(class_entry, property_version_name, &property_version_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1607 zend_string_release(property_version_name);
1608
1609 return class_entry;
1610 }
1611
register_class_DOMEntityReference(zend_class_entry * class_entry_DOMNode)1612 static zend_class_entry *register_class_DOMEntityReference(zend_class_entry *class_entry_DOMNode)
1613 {
1614 zend_class_entry ce, *class_entry;
1615
1616 INIT_CLASS_ENTRY(ce, "DOMEntityReference", class_DOMEntityReference_methods);
1617 class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
1618
1619 return class_entry;
1620 }
1621
register_class_DOMNotation(zend_class_entry * class_entry_DOMNode)1622 static zend_class_entry *register_class_DOMNotation(zend_class_entry *class_entry_DOMNode)
1623 {
1624 zend_class_entry ce, *class_entry;
1625
1626 INIT_CLASS_ENTRY(ce, "DOMNotation", class_DOMNotation_methods);
1627 class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
1628
1629 zval property_publicId_default_value;
1630 ZVAL_UNDEF(&property_publicId_default_value);
1631 zend_string *property_publicId_name = zend_string_init("publicId", sizeof("publicId") - 1, 1);
1632 zend_declare_typed_property(class_entry, property_publicId_name, &property_publicId_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1633 zend_string_release(property_publicId_name);
1634
1635 zval property_systemId_default_value;
1636 ZVAL_UNDEF(&property_systemId_default_value);
1637 zend_string *property_systemId_name = zend_string_init("systemId", sizeof("systemId") - 1, 1);
1638 zend_declare_typed_property(class_entry, property_systemId_name, &property_systemId_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1639 zend_string_release(property_systemId_name);
1640
1641 return class_entry;
1642 }
1643
register_class_DOMProcessingInstruction(zend_class_entry * class_entry_DOMNode)1644 static zend_class_entry *register_class_DOMProcessingInstruction(zend_class_entry *class_entry_DOMNode)
1645 {
1646 zend_class_entry ce, *class_entry;
1647
1648 INIT_CLASS_ENTRY(ce, "DOMProcessingInstruction", class_DOMProcessingInstruction_methods);
1649 class_entry = zend_register_internal_class_ex(&ce, class_entry_DOMNode);
1650
1651 zval property_target_default_value;
1652 ZVAL_UNDEF(&property_target_default_value);
1653 zend_string *property_target_name = zend_string_init("target", sizeof("target") - 1, 1);
1654 zend_declare_typed_property(class_entry, property_target_name, &property_target_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1655 zend_string_release(property_target_name);
1656
1657 zval property_data_default_value;
1658 ZVAL_UNDEF(&property_data_default_value);
1659 zend_string *property_data_name = zend_string_init("data", sizeof("data") - 1, 1);
1660 zend_declare_typed_property(class_entry, property_data_name, &property_data_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1661 zend_string_release(property_data_name);
1662
1663 return class_entry;
1664 }
1665
register_class_DOMXPath(void)1666 static zend_class_entry *register_class_DOMXPath(void)
1667 {
1668 zend_class_entry ce, *class_entry;
1669
1670 INIT_CLASS_ENTRY(ce, "DOMXPath", class_DOMXPath_methods);
1671 class_entry = zend_register_internal_class_ex(&ce, NULL);
1672 class_entry->ce_flags |= ZEND_ACC_NOT_SERIALIZABLE;
1673
1674 zend_string *property_document_class_DOMDocument = zend_string_init("DOMDocument", sizeof("DOMDocument")-1, 1);
1675 zval property_document_default_value;
1676 ZVAL_UNDEF(&property_document_default_value);
1677 zend_string *property_document_name = zend_string_init("document", sizeof("document") - 1, 1);
1678 zend_declare_typed_property(class_entry, property_document_name, &property_document_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_document_class_DOMDocument, 0, 0));
1679 zend_string_release(property_document_name);
1680
1681 zval property_registerNodeNamespaces_default_value;
1682 ZVAL_UNDEF(&property_registerNodeNamespaces_default_value);
1683 zend_string *property_registerNodeNamespaces_name = zend_string_init("registerNodeNamespaces", sizeof("registerNodeNamespaces") - 1, 1);
1684 zend_declare_typed_property(class_entry, property_registerNodeNamespaces_name, &property_registerNodeNamespaces_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1685 zend_string_release(property_registerNodeNamespaces_name);
1686
1687 return class_entry;
1688 }
1689