1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: a0ece6bc77b0a9811cb09a604b175e2295efc7a0 */
3 
4 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_xmlwriter_open_uri, 0, 1, XMLWriter, MAY_BE_FALSE)
5 	ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 0)
6 ZEND_END_ARG_INFO()
7 
8 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_xmlwriter_open_memory, 0, 0, XMLWriter, MAY_BE_FALSE)
9 ZEND_END_ARG_INFO()
10 
11 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_set_indent, 0, 2, _IS_BOOL, 0)
12 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
13 	ZEND_ARG_TYPE_INFO(0, enable, _IS_BOOL, 0)
14 ZEND_END_ARG_INFO()
15 
16 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_set_indent_string, 0, 2, _IS_BOOL, 0)
17 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
18 	ZEND_ARG_TYPE_INFO(0, indentation, IS_STRING, 0)
19 ZEND_END_ARG_INFO()
20 
21 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_start_comment, 0, 1, _IS_BOOL, 0)
22 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
23 ZEND_END_ARG_INFO()
24 
25 #define arginfo_xmlwriter_end_comment arginfo_xmlwriter_start_comment
26 
27 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_start_attribute, 0, 2, _IS_BOOL, 0)
28 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
29 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
30 ZEND_END_ARG_INFO()
31 
32 #define arginfo_xmlwriter_end_attribute arginfo_xmlwriter_start_comment
33 
34 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_attribute, 0, 3, _IS_BOOL, 0)
35 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
36 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
37 	ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
38 ZEND_END_ARG_INFO()
39 
40 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_start_attribute_ns, 0, 4, _IS_BOOL, 0)
41 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
42 	ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
43 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
44 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
45 ZEND_END_ARG_INFO()
46 
47 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_attribute_ns, 0, 5, _IS_BOOL, 0)
48 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
49 	ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
50 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
51 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
52 	ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
53 ZEND_END_ARG_INFO()
54 
55 #define arginfo_xmlwriter_start_element arginfo_xmlwriter_start_attribute
56 
57 #define arginfo_xmlwriter_end_element arginfo_xmlwriter_start_comment
58 
59 #define arginfo_xmlwriter_full_end_element arginfo_xmlwriter_start_comment
60 
61 #define arginfo_xmlwriter_start_element_ns arginfo_xmlwriter_start_attribute_ns
62 
63 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_element, 0, 2, _IS_BOOL, 0)
64 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
65 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
66 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, content, IS_STRING, 1, "null")
67 ZEND_END_ARG_INFO()
68 
69 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_element_ns, 0, 4, _IS_BOOL, 0)
70 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
71 	ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
72 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
73 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
74 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, content, IS_STRING, 1, "null")
75 ZEND_END_ARG_INFO()
76 
77 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_start_pi, 0, 2, _IS_BOOL, 0)
78 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
79 	ZEND_ARG_TYPE_INFO(0, target, IS_STRING, 0)
80 ZEND_END_ARG_INFO()
81 
82 #define arginfo_xmlwriter_end_pi arginfo_xmlwriter_start_comment
83 
84 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_pi, 0, 3, _IS_BOOL, 0)
85 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
86 	ZEND_ARG_TYPE_INFO(0, target, IS_STRING, 0)
87 	ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
88 ZEND_END_ARG_INFO()
89 
90 #define arginfo_xmlwriter_start_cdata arginfo_xmlwriter_start_comment
91 
92 #define arginfo_xmlwriter_end_cdata arginfo_xmlwriter_start_comment
93 
94 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_cdata, 0, 2, _IS_BOOL, 0)
95 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
96 	ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
97 ZEND_END_ARG_INFO()
98 
99 #define arginfo_xmlwriter_text arginfo_xmlwriter_write_cdata
100 
101 #define arginfo_xmlwriter_write_raw arginfo_xmlwriter_write_cdata
102 
103 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_start_document, 0, 1, _IS_BOOL, 0)
104 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
105 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, version, IS_STRING, 1, "\"1.0\"")
106 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
107 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, standalone, IS_STRING, 1, "null")
108 ZEND_END_ARG_INFO()
109 
110 #define arginfo_xmlwriter_end_document arginfo_xmlwriter_start_comment
111 
112 #define arginfo_xmlwriter_write_comment arginfo_xmlwriter_write_cdata
113 
114 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_start_dtd, 0, 2, _IS_BOOL, 0)
115 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
116 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
117 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, publicId, IS_STRING, 1, "null")
118 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, systemId, IS_STRING, 1, "null")
119 ZEND_END_ARG_INFO()
120 
121 #define arginfo_xmlwriter_end_dtd arginfo_xmlwriter_start_comment
122 
123 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_dtd, 0, 2, _IS_BOOL, 0)
124 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
125 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
126 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, publicId, IS_STRING, 1, "null")
127 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, systemId, IS_STRING, 1, "null")
128 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, content, IS_STRING, 1, "null")
129 ZEND_END_ARG_INFO()
130 
131 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_start_dtd_element, 0, 2, _IS_BOOL, 0)
132 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
133 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
134 ZEND_END_ARG_INFO()
135 
136 #define arginfo_xmlwriter_end_dtd_element arginfo_xmlwriter_start_comment
137 
138 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_dtd_element, 0, 3, _IS_BOOL, 0)
139 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
140 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
141 	ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
142 ZEND_END_ARG_INFO()
143 
144 #define arginfo_xmlwriter_start_dtd_attlist arginfo_xmlwriter_start_attribute
145 
146 #define arginfo_xmlwriter_end_dtd_attlist arginfo_xmlwriter_start_comment
147 
148 #define arginfo_xmlwriter_write_dtd_attlist arginfo_xmlwriter_write_dtd_element
149 
150 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_start_dtd_entity, 0, 3, _IS_BOOL, 0)
151 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
152 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
153 	ZEND_ARG_TYPE_INFO(0, isParam, _IS_BOOL, 0)
154 ZEND_END_ARG_INFO()
155 
156 #define arginfo_xmlwriter_end_dtd_entity arginfo_xmlwriter_start_comment
157 
158 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_dtd_entity, 0, 3, _IS_BOOL, 0)
159 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
160 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
161 	ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
162 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, isParam, _IS_BOOL, 0, "false")
163 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, publicId, IS_STRING, 1, "null")
164 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, systemId, IS_STRING, 1, "null")
165 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, notationData, IS_STRING, 1, "null")
166 ZEND_END_ARG_INFO()
167 
168 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_output_memory, 0, 1, IS_STRING, 0)
169 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
170 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flush, _IS_BOOL, 0, "true")
171 ZEND_END_ARG_INFO()
172 
173 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_xmlwriter_flush, 0, 1, MAY_BE_STRING|MAY_BE_LONG)
174 	ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
175 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, empty, _IS_BOOL, 0, "true")
176 ZEND_END_ARG_INFO()
177 
178 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_openUri, 0, 0, 1)
179 	ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 0)
180 ZEND_END_ARG_INFO()
181 
182 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_openMemory, 0, 0, 0)
183 ZEND_END_ARG_INFO()
184 
185 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_setIndent, 0, 0, 1)
186 	ZEND_ARG_TYPE_INFO(0, enable, _IS_BOOL, 0)
187 ZEND_END_ARG_INFO()
188 
189 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_setIndentString, 0, 0, 1)
190 	ZEND_ARG_TYPE_INFO(0, indentation, IS_STRING, 0)
191 ZEND_END_ARG_INFO()
192 
193 #define arginfo_class_XMLWriter_startComment arginfo_class_XMLWriter_openMemory
194 
195 #define arginfo_class_XMLWriter_endComment arginfo_class_XMLWriter_openMemory
196 
197 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_startAttribute, 0, 0, 1)
198 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
199 ZEND_END_ARG_INFO()
200 
201 #define arginfo_class_XMLWriter_endAttribute arginfo_class_XMLWriter_openMemory
202 
203 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_writeAttribute, 0, 0, 2)
204 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
205 	ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
206 ZEND_END_ARG_INFO()
207 
208 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_startAttributeNs, 0, 0, 3)
209 	ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
210 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
211 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
212 ZEND_END_ARG_INFO()
213 
214 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_writeAttributeNs, 0, 0, 4)
215 	ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
216 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
217 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
218 	ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
219 ZEND_END_ARG_INFO()
220 
221 #define arginfo_class_XMLWriter_startElement arginfo_class_XMLWriter_startAttribute
222 
223 #define arginfo_class_XMLWriter_endElement arginfo_class_XMLWriter_openMemory
224 
225 #define arginfo_class_XMLWriter_fullEndElement arginfo_class_XMLWriter_openMemory
226 
227 #define arginfo_class_XMLWriter_startElementNs arginfo_class_XMLWriter_startAttributeNs
228 
229 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_writeElement, 0, 0, 1)
230 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
231 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, content, IS_STRING, 1, "null")
232 ZEND_END_ARG_INFO()
233 
234 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_writeElementNs, 0, 0, 3)
235 	ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
236 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
237 	ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
238 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, content, IS_STRING, 1, "null")
239 ZEND_END_ARG_INFO()
240 
241 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_startPi, 0, 0, 1)
242 	ZEND_ARG_TYPE_INFO(0, target, IS_STRING, 0)
243 ZEND_END_ARG_INFO()
244 
245 #define arginfo_class_XMLWriter_endPi arginfo_class_XMLWriter_openMemory
246 
247 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_writePi, 0, 0, 2)
248 	ZEND_ARG_TYPE_INFO(0, target, IS_STRING, 0)
249 	ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
250 ZEND_END_ARG_INFO()
251 
252 #define arginfo_class_XMLWriter_startCdata arginfo_class_XMLWriter_openMemory
253 
254 #define arginfo_class_XMLWriter_endCdata arginfo_class_XMLWriter_openMemory
255 
256 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_writeCdata, 0, 0, 1)
257 	ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
258 ZEND_END_ARG_INFO()
259 
260 #define arginfo_class_XMLWriter_text arginfo_class_XMLWriter_writeCdata
261 
262 #define arginfo_class_XMLWriter_writeRaw arginfo_class_XMLWriter_writeCdata
263 
264 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_startDocument, 0, 0, 0)
265 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, version, IS_STRING, 1, "\"1.0\"")
266 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
267 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, standalone, IS_STRING, 1, "null")
268 ZEND_END_ARG_INFO()
269 
270 #define arginfo_class_XMLWriter_endDocument arginfo_class_XMLWriter_openMemory
271 
272 #define arginfo_class_XMLWriter_writeComment arginfo_class_XMLWriter_writeCdata
273 
274 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_startDtd, 0, 0, 1)
275 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
276 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, publicId, IS_STRING, 1, "null")
277 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, systemId, IS_STRING, 1, "null")
278 ZEND_END_ARG_INFO()
279 
280 #define arginfo_class_XMLWriter_endDtd arginfo_class_XMLWriter_openMemory
281 
282 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_writeDtd, 0, 0, 1)
283 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
284 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, publicId, IS_STRING, 1, "null")
285 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, systemId, IS_STRING, 1, "null")
286 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, content, IS_STRING, 1, "null")
287 ZEND_END_ARG_INFO()
288 
289 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_startDtdElement, 0, 0, 1)
290 	ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
291 ZEND_END_ARG_INFO()
292 
293 #define arginfo_class_XMLWriter_endDtdElement arginfo_class_XMLWriter_openMemory
294 
295 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_writeDtdElement, 0, 0, 2)
296 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
297 	ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
298 ZEND_END_ARG_INFO()
299 
300 #define arginfo_class_XMLWriter_startDtdAttlist arginfo_class_XMLWriter_startAttribute
301 
302 #define arginfo_class_XMLWriter_endDtdAttlist arginfo_class_XMLWriter_openMemory
303 
304 #define arginfo_class_XMLWriter_writeDtdAttlist arginfo_class_XMLWriter_writeDtdElement
305 
306 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_startDtdEntity, 0, 0, 2)
307 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
308 	ZEND_ARG_TYPE_INFO(0, isParam, _IS_BOOL, 0)
309 ZEND_END_ARG_INFO()
310 
311 #define arginfo_class_XMLWriter_endDtdEntity arginfo_class_XMLWriter_openMemory
312 
313 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_writeDtdEntity, 0, 0, 2)
314 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
315 	ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
316 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, isParam, _IS_BOOL, 0, "false")
317 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, publicId, IS_STRING, 1, "null")
318 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, systemId, IS_STRING, 1, "null")
319 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, notationData, IS_STRING, 1, "null")
320 ZEND_END_ARG_INFO()
321 
322 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_outputMemory, 0, 0, 0)
323 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flush, _IS_BOOL, 0, "true")
324 ZEND_END_ARG_INFO()
325 
326 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLWriter_flush, 0, 0, 0)
327 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, empty, _IS_BOOL, 0, "true")
328 ZEND_END_ARG_INFO()
329 
330 
331 ZEND_FUNCTION(xmlwriter_open_uri);
332 ZEND_FUNCTION(xmlwriter_open_memory);
333 ZEND_FUNCTION(xmlwriter_set_indent);
334 ZEND_FUNCTION(xmlwriter_set_indent_string);
335 ZEND_FUNCTION(xmlwriter_start_comment);
336 ZEND_FUNCTION(xmlwriter_end_comment);
337 ZEND_FUNCTION(xmlwriter_start_attribute);
338 ZEND_FUNCTION(xmlwriter_end_attribute);
339 ZEND_FUNCTION(xmlwriter_write_attribute);
340 ZEND_FUNCTION(xmlwriter_start_attribute_ns);
341 ZEND_FUNCTION(xmlwriter_write_attribute_ns);
342 ZEND_FUNCTION(xmlwriter_start_element);
343 ZEND_FUNCTION(xmlwriter_end_element);
344 ZEND_FUNCTION(xmlwriter_full_end_element);
345 ZEND_FUNCTION(xmlwriter_start_element_ns);
346 ZEND_FUNCTION(xmlwriter_write_element);
347 ZEND_FUNCTION(xmlwriter_write_element_ns);
348 ZEND_FUNCTION(xmlwriter_start_pi);
349 ZEND_FUNCTION(xmlwriter_end_pi);
350 ZEND_FUNCTION(xmlwriter_write_pi);
351 ZEND_FUNCTION(xmlwriter_start_cdata);
352 ZEND_FUNCTION(xmlwriter_end_cdata);
353 ZEND_FUNCTION(xmlwriter_write_cdata);
354 ZEND_FUNCTION(xmlwriter_text);
355 ZEND_FUNCTION(xmlwriter_write_raw);
356 ZEND_FUNCTION(xmlwriter_start_document);
357 ZEND_FUNCTION(xmlwriter_end_document);
358 ZEND_FUNCTION(xmlwriter_write_comment);
359 ZEND_FUNCTION(xmlwriter_start_dtd);
360 ZEND_FUNCTION(xmlwriter_end_dtd);
361 ZEND_FUNCTION(xmlwriter_write_dtd);
362 ZEND_FUNCTION(xmlwriter_start_dtd_element);
363 ZEND_FUNCTION(xmlwriter_end_dtd_element);
364 ZEND_FUNCTION(xmlwriter_write_dtd_element);
365 ZEND_FUNCTION(xmlwriter_start_dtd_attlist);
366 ZEND_FUNCTION(xmlwriter_end_dtd_attlist);
367 ZEND_FUNCTION(xmlwriter_write_dtd_attlist);
368 ZEND_FUNCTION(xmlwriter_start_dtd_entity);
369 ZEND_FUNCTION(xmlwriter_end_dtd_entity);
370 ZEND_FUNCTION(xmlwriter_write_dtd_entity);
371 ZEND_FUNCTION(xmlwriter_output_memory);
372 ZEND_FUNCTION(xmlwriter_flush);
373 
374 
375 static const zend_function_entry ext_functions[] = {
376 	ZEND_FE(xmlwriter_open_uri, arginfo_xmlwriter_open_uri)
377 	ZEND_FE(xmlwriter_open_memory, arginfo_xmlwriter_open_memory)
378 	ZEND_FE(xmlwriter_set_indent, arginfo_xmlwriter_set_indent)
379 	ZEND_FE(xmlwriter_set_indent_string, arginfo_xmlwriter_set_indent_string)
380 	ZEND_FE(xmlwriter_start_comment, arginfo_xmlwriter_start_comment)
381 	ZEND_FE(xmlwriter_end_comment, arginfo_xmlwriter_end_comment)
382 	ZEND_FE(xmlwriter_start_attribute, arginfo_xmlwriter_start_attribute)
383 	ZEND_FE(xmlwriter_end_attribute, arginfo_xmlwriter_end_attribute)
384 	ZEND_FE(xmlwriter_write_attribute, arginfo_xmlwriter_write_attribute)
385 	ZEND_FE(xmlwriter_start_attribute_ns, arginfo_xmlwriter_start_attribute_ns)
386 	ZEND_FE(xmlwriter_write_attribute_ns, arginfo_xmlwriter_write_attribute_ns)
387 	ZEND_FE(xmlwriter_start_element, arginfo_xmlwriter_start_element)
388 	ZEND_FE(xmlwriter_end_element, arginfo_xmlwriter_end_element)
389 	ZEND_FE(xmlwriter_full_end_element, arginfo_xmlwriter_full_end_element)
390 	ZEND_FE(xmlwriter_start_element_ns, arginfo_xmlwriter_start_element_ns)
391 	ZEND_FE(xmlwriter_write_element, arginfo_xmlwriter_write_element)
392 	ZEND_FE(xmlwriter_write_element_ns, arginfo_xmlwriter_write_element_ns)
393 	ZEND_FE(xmlwriter_start_pi, arginfo_xmlwriter_start_pi)
394 	ZEND_FE(xmlwriter_end_pi, arginfo_xmlwriter_end_pi)
395 	ZEND_FE(xmlwriter_write_pi, arginfo_xmlwriter_write_pi)
396 	ZEND_FE(xmlwriter_start_cdata, arginfo_xmlwriter_start_cdata)
397 	ZEND_FE(xmlwriter_end_cdata, arginfo_xmlwriter_end_cdata)
398 	ZEND_FE(xmlwriter_write_cdata, arginfo_xmlwriter_write_cdata)
399 	ZEND_FE(xmlwriter_text, arginfo_xmlwriter_text)
400 	ZEND_FE(xmlwriter_write_raw, arginfo_xmlwriter_write_raw)
401 	ZEND_FE(xmlwriter_start_document, arginfo_xmlwriter_start_document)
402 	ZEND_FE(xmlwriter_end_document, arginfo_xmlwriter_end_document)
403 	ZEND_FE(xmlwriter_write_comment, arginfo_xmlwriter_write_comment)
404 	ZEND_FE(xmlwriter_start_dtd, arginfo_xmlwriter_start_dtd)
405 	ZEND_FE(xmlwriter_end_dtd, arginfo_xmlwriter_end_dtd)
406 	ZEND_FE(xmlwriter_write_dtd, arginfo_xmlwriter_write_dtd)
407 	ZEND_FE(xmlwriter_start_dtd_element, arginfo_xmlwriter_start_dtd_element)
408 	ZEND_FE(xmlwriter_end_dtd_element, arginfo_xmlwriter_end_dtd_element)
409 	ZEND_FE(xmlwriter_write_dtd_element, arginfo_xmlwriter_write_dtd_element)
410 	ZEND_FE(xmlwriter_start_dtd_attlist, arginfo_xmlwriter_start_dtd_attlist)
411 	ZEND_FE(xmlwriter_end_dtd_attlist, arginfo_xmlwriter_end_dtd_attlist)
412 	ZEND_FE(xmlwriter_write_dtd_attlist, arginfo_xmlwriter_write_dtd_attlist)
413 	ZEND_FE(xmlwriter_start_dtd_entity, arginfo_xmlwriter_start_dtd_entity)
414 	ZEND_FE(xmlwriter_end_dtd_entity, arginfo_xmlwriter_end_dtd_entity)
415 	ZEND_FE(xmlwriter_write_dtd_entity, arginfo_xmlwriter_write_dtd_entity)
416 	ZEND_FE(xmlwriter_output_memory, arginfo_xmlwriter_output_memory)
417 	ZEND_FE(xmlwriter_flush, arginfo_xmlwriter_flush)
418 	ZEND_FE_END
419 };
420 
421 
422 static const zend_function_entry class_XMLWriter_methods[] = {
423 	ZEND_ME_MAPPING(openUri, xmlwriter_open_uri, arginfo_class_XMLWriter_openUri, ZEND_ACC_PUBLIC)
424 	ZEND_ME_MAPPING(openMemory, xmlwriter_open_memory, arginfo_class_XMLWriter_openMemory, ZEND_ACC_PUBLIC)
425 	ZEND_ME_MAPPING(setIndent, xmlwriter_set_indent, arginfo_class_XMLWriter_setIndent, ZEND_ACC_PUBLIC)
426 	ZEND_ME_MAPPING(setIndentString, xmlwriter_set_indent_string, arginfo_class_XMLWriter_setIndentString, ZEND_ACC_PUBLIC)
427 	ZEND_ME_MAPPING(startComment, xmlwriter_start_comment, arginfo_class_XMLWriter_startComment, ZEND_ACC_PUBLIC)
428 	ZEND_ME_MAPPING(endComment, xmlwriter_end_comment, arginfo_class_XMLWriter_endComment, ZEND_ACC_PUBLIC)
429 	ZEND_ME_MAPPING(startAttribute, xmlwriter_start_attribute, arginfo_class_XMLWriter_startAttribute, ZEND_ACC_PUBLIC)
430 	ZEND_ME_MAPPING(endAttribute, xmlwriter_end_attribute, arginfo_class_XMLWriter_endAttribute, ZEND_ACC_PUBLIC)
431 	ZEND_ME_MAPPING(writeAttribute, xmlwriter_write_attribute, arginfo_class_XMLWriter_writeAttribute, ZEND_ACC_PUBLIC)
432 	ZEND_ME_MAPPING(startAttributeNs, xmlwriter_start_attribute_ns, arginfo_class_XMLWriter_startAttributeNs, ZEND_ACC_PUBLIC)
433 	ZEND_ME_MAPPING(writeAttributeNs, xmlwriter_write_attribute_ns, arginfo_class_XMLWriter_writeAttributeNs, ZEND_ACC_PUBLIC)
434 	ZEND_ME_MAPPING(startElement, xmlwriter_start_element, arginfo_class_XMLWriter_startElement, ZEND_ACC_PUBLIC)
435 	ZEND_ME_MAPPING(endElement, xmlwriter_end_element, arginfo_class_XMLWriter_endElement, ZEND_ACC_PUBLIC)
436 	ZEND_ME_MAPPING(fullEndElement, xmlwriter_full_end_element, arginfo_class_XMLWriter_fullEndElement, ZEND_ACC_PUBLIC)
437 	ZEND_ME_MAPPING(startElementNs, xmlwriter_start_element_ns, arginfo_class_XMLWriter_startElementNs, ZEND_ACC_PUBLIC)
438 	ZEND_ME_MAPPING(writeElement, xmlwriter_write_element, arginfo_class_XMLWriter_writeElement, ZEND_ACC_PUBLIC)
439 	ZEND_ME_MAPPING(writeElementNs, xmlwriter_write_element_ns, arginfo_class_XMLWriter_writeElementNs, ZEND_ACC_PUBLIC)
440 	ZEND_ME_MAPPING(startPi, xmlwriter_start_pi, arginfo_class_XMLWriter_startPi, ZEND_ACC_PUBLIC)
441 	ZEND_ME_MAPPING(endPi, xmlwriter_end_pi, arginfo_class_XMLWriter_endPi, ZEND_ACC_PUBLIC)
442 	ZEND_ME_MAPPING(writePi, xmlwriter_write_pi, arginfo_class_XMLWriter_writePi, ZEND_ACC_PUBLIC)
443 	ZEND_ME_MAPPING(startCdata, xmlwriter_start_cdata, arginfo_class_XMLWriter_startCdata, ZEND_ACC_PUBLIC)
444 	ZEND_ME_MAPPING(endCdata, xmlwriter_end_cdata, arginfo_class_XMLWriter_endCdata, ZEND_ACC_PUBLIC)
445 	ZEND_ME_MAPPING(writeCdata, xmlwriter_write_cdata, arginfo_class_XMLWriter_writeCdata, ZEND_ACC_PUBLIC)
446 	ZEND_ME_MAPPING(text, xmlwriter_text, arginfo_class_XMLWriter_text, ZEND_ACC_PUBLIC)
447 	ZEND_ME_MAPPING(writeRaw, xmlwriter_write_raw, arginfo_class_XMLWriter_writeRaw, ZEND_ACC_PUBLIC)
448 	ZEND_ME_MAPPING(startDocument, xmlwriter_start_document, arginfo_class_XMLWriter_startDocument, ZEND_ACC_PUBLIC)
449 	ZEND_ME_MAPPING(endDocument, xmlwriter_end_document, arginfo_class_XMLWriter_endDocument, ZEND_ACC_PUBLIC)
450 	ZEND_ME_MAPPING(writeComment, xmlwriter_write_comment, arginfo_class_XMLWriter_writeComment, ZEND_ACC_PUBLIC)
451 	ZEND_ME_MAPPING(startDtd, xmlwriter_start_dtd, arginfo_class_XMLWriter_startDtd, ZEND_ACC_PUBLIC)
452 	ZEND_ME_MAPPING(endDtd, xmlwriter_end_dtd, arginfo_class_XMLWriter_endDtd, ZEND_ACC_PUBLIC)
453 	ZEND_ME_MAPPING(writeDtd, xmlwriter_write_dtd, arginfo_class_XMLWriter_writeDtd, ZEND_ACC_PUBLIC)
454 	ZEND_ME_MAPPING(startDtdElement, xmlwriter_start_dtd_element, arginfo_class_XMLWriter_startDtdElement, ZEND_ACC_PUBLIC)
455 	ZEND_ME_MAPPING(endDtdElement, xmlwriter_end_dtd_element, arginfo_class_XMLWriter_endDtdElement, ZEND_ACC_PUBLIC)
456 	ZEND_ME_MAPPING(writeDtdElement, xmlwriter_write_dtd_element, arginfo_class_XMLWriter_writeDtdElement, ZEND_ACC_PUBLIC)
457 	ZEND_ME_MAPPING(startDtdAttlist, xmlwriter_start_dtd_attlist, arginfo_class_XMLWriter_startDtdAttlist, ZEND_ACC_PUBLIC)
458 	ZEND_ME_MAPPING(endDtdAttlist, xmlwriter_end_dtd_attlist, arginfo_class_XMLWriter_endDtdAttlist, ZEND_ACC_PUBLIC)
459 	ZEND_ME_MAPPING(writeDtdAttlist, xmlwriter_write_dtd_attlist, arginfo_class_XMLWriter_writeDtdAttlist, ZEND_ACC_PUBLIC)
460 	ZEND_ME_MAPPING(startDtdEntity, xmlwriter_start_dtd_entity, arginfo_class_XMLWriter_startDtdEntity, ZEND_ACC_PUBLIC)
461 	ZEND_ME_MAPPING(endDtdEntity, xmlwriter_end_dtd_entity, arginfo_class_XMLWriter_endDtdEntity, ZEND_ACC_PUBLIC)
462 	ZEND_ME_MAPPING(writeDtdEntity, xmlwriter_write_dtd_entity, arginfo_class_XMLWriter_writeDtdEntity, ZEND_ACC_PUBLIC)
463 	ZEND_ME_MAPPING(outputMemory, xmlwriter_output_memory, arginfo_class_XMLWriter_outputMemory, ZEND_ACC_PUBLIC)
464 	ZEND_ME_MAPPING(flush, xmlwriter_flush, arginfo_class_XMLWriter_flush, ZEND_ACC_PUBLIC)
465 	ZEND_FE_END
466 };
467