/php-src/ext/xmlwriter/tests/ |
H A D | bug79344.phpt | 7 $writer = new XMLWriter; 8 $writer->openMemory(); 9 $writer->setIndent(true); 10 $writer->startElement('foo'); 12 $writer->writeAttributeNS(null, 'test1', null, 'test1'); 13 $writer->startAttributeNS(null, 'test2', null); 14 $writer->text('test2'); 15 $writer->endAttribute(); 17 $writer->endElement(); 18 echo $writer->outputMemory();
|
H A D | xmlwriter_toMemory_flush_combinations.phpt | 8 $writer = XMLWriter::toMemory(); 9 var_dump($writer->flush(empty: false)); 10 $writer->startElement('foo'); 11 var_dump($writer->flush(empty: false)); 12 $writer->endElement(); 13 var_dump($writer->flush(empty: false)); 14 var_dump($writer->flush()); 15 var_dump($writer->flush());
|
H A D | xmlwriter_toMemory_normal_usage.phpt | 8 $writer = XMLWriter::toMemory(); 9 $writer->startElement("root"); 10 $writer->writeAttribute("align", "left"); 11 $writer->writeComment("hello"); 12 $writer->endElement(); 13 echo $writer->outputMemory();
|
H A D | xmlwriter_toStream_invalidate_stream.phpt | 10 $writer = XMLWriter::toStream($h); 11 $writer->startElement("root"); 13 $writer->writeAttribute("align", "left"); 14 $writer->endElement(); 15 var_dump($writer->flush()); 16 unset($writer);
|
H A D | xmlwriter_toStream_normal_usage.phpt | 10 $writer = XMLWriter::toStream($h); 11 $writer->startElement("root"); 12 $writer->writeAttribute("align", "left"); 13 $writer->writeComment("hello"); 14 $writer->endElement(); 15 $amount = $writer->flush(); 20 unset($writer);
|
H A D | xmlwriter_toMemory_custom_constructor.phpt | 17 $writer = CustomXMLWriter::toMemory(); 18 var_dump($writer); 19 $writer->startElement("root"); 20 $writer->endElement(); 21 echo $writer->outputMemory();
|
H A D | xmlwriter_toStream_custom_constructor.phpt | 19 $writer = CustomXMLWriter::toStream($h); 20 var_dump($writer); 21 $writer->startElement("root"); 22 $writer->endElement(); 23 $writer->flush();
|
H A D | xmlwriter_toStream_encoding_utf8.phpt | 10 $writer = XMLWriter::toStream($h); 11 $writer->startDocument(encoding: "UTF-8"); 12 $writer->writeComment('ééé'); 13 unset($writer);
|
H A D | xmlwriter_toStream_encoding_shiftjis.phpt | 10 $writer = XMLWriter::toStream($h); 11 $writer->startDocument(encoding: "SHIFT_JIS"); 12 $writer->writeComment("\u{3041}\u{3041}\u{3041}"); 13 unset($writer);
|
/php-src/ext/xmlwriter/ |
H A D | php_xmlwriter.stub.php | 13 function xmlwriter_start_comment(XMLWriter $writer): bool {} argument 15 function xmlwriter_end_comment(XMLWriter $writer): bool {} argument 19 function xmlwriter_end_attribute(XMLWriter $writer): bool {} argument 29 function xmlwriter_end_element(XMLWriter $writer): bool {} argument 31 function xmlwriter_full_end_element(XMLWriter $writer): bool {} argument 41 function xmlwriter_end_pi(XMLWriter $writer): bool {} argument 45 function xmlwriter_start_cdata(XMLWriter $writer): bool {} argument 47 function xmlwriter_end_cdata(XMLWriter $writer): bool {} argument 57 function xmlwriter_end_document(XMLWriter $writer): bool {} argument 63 function xmlwriter_end_dtd(XMLWriter $writer): bool {} argument [all …]
|
H A D | php_xmlwriter_arginfo.h | 12 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0) 17 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0) 22 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0) 28 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0) 35 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0) 41 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0) 48 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0) 64 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0) 70 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0) 78 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0) [all …]
|
H A D | php_xmlwriter.c | 32 typedef int (*xmlwriter_read_int_t)(xmlTextWriterPtr writer); 184 intern->ptr = writer; in xml_writer_create_static() 188 xmlFreeTextWriter(writer); in xml_writer_create_static() 871 if (!writer) { in PHP_METHOD() 905 xmlTextWriterPtr writer = xmlNewTextWriter(output_buffer); in xml_writer_create_in_memory() local 906 if (!writer) { in xml_writer_create_in_memory() 912 return writer; in xml_writer_create_in_memory() 956 xmlTextWriterPtr writer = xml_writer_create_in_memory(&output); in PHP_METHOD() local 959 if (!writer) { in PHP_METHOD() 1006 xmlTextWriterPtr writer = xmlNewTextWriter(output_buffer); in PHP_METHOD() local [all …]
|
/php-src/ext/standard/tests/file/ |
H A D | bug41815.phpt | 9 $writer = fopen($filename, "wt"); 12 fwrite($writer, "foo"); 18 fclose($writer);
|
/php-src/ext/sockets/ |
H A D | conversions.h | 82 from_zval_write_field *writer,
|
H A D | conversions.c | 1478 from_zval_write_field *writer, in from_zval_run_conversions() argument 1505 writer(container, structure, &ctx); in from_zval_run_conversions()
|
/php-src/main/streams/ |
H A D | cast.c | 42 int (*writer)(void *, const char *, int); member 49 FILE *file = funopen(cookie, funcs->reader, funcs->writer, funcs->seeker, funcs->closer); in fopencookie()
|
/php-src/ext/phar/tests/zip/files/ |
H A D | corrupt_zipmaker.php.inc | 6 * ZIP archive writer 33 * ZIP archive writer 38 * @var int Current position in the writer
|
/php-src/ext/dba/tests/setup/ |
H A D | setup_dba_tests.inc | 169 … dba_close($db_writer); // when the writer is open at least db3 would fail because of buffered io.
|
/php-src/ext/phar/tests/zip/ |
H A D | bug48791.phpt | 12 …ttp://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http:…
|
/php-src/build/ |
H A D | php.m4 | 1357 ssize_t writer(void *cookie, const char *buffer, size_t size) 1364 cookie_io_functions_t funcs = {reader, writer, seeker, closer};
|
/php-src/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 4120 >>>62 string writer Writer 4122 !:mime application/vnd.sun.xml.writer 4125 !:mime application/vnd.sun.xml.writer.template 4128 !:mime application/vnd.sun.xml.writer.web 4131 !:mime application/vnd.sun.xml.writer.global 30598 !:mime application/vnd.stardivision.writer 30602 !:mime application/vnd.stardivision.writer-global 36171 >>18 ubyte !1 \b, writer version %u
|
H A D | magic | 4120 >>>62 string writer Writer 4122 !:mime application/vnd.sun.xml.writer 4125 !:mime application/vnd.sun.xml.writer.template 4128 !:mime application/vnd.sun.xml.writer.web 4131 !:mime application/vnd.sun.xml.writer.global 30598 !:mime application/vnd.stardivision.writer 30602 !:mime application/vnd.stardivision.writer-global 36171 >>18 ubyte !1 \b, writer version %u
|