mirror of
https://github.com/php/php-src.git
synced 2025-01-23 12:13:37 +08:00
5f80eb7842
* get_parent_class() argument is optional * Mark array_filter() $callback as optional * The $base of gmp_strval() is optional * DateTime constructor also accepts zero arguments * hash_update_file() stream context is optional * xmlwriter_write_dtd_entity() $isparam argument is optional
177 lines
6.2 KiB
PHP
177 lines
6.2 KiB
PHP
<?php
|
|
|
|
/** @return XMLWriter|false */
|
|
function xmlwriter_open_uri(string $uri) {}
|
|
|
|
/** @return XMLWriter|false */
|
|
function xmlwriter_open_memory() {}
|
|
|
|
function xmlwriter_set_indent(XMLWriter $xmlwriter, bool $indent): bool {}
|
|
|
|
function xmlwriter_set_indent_string(XMLWriter $xmlwriter, string $indentString): bool {}
|
|
|
|
function xmlwriter_start_comment(XMLWriter $xmlwriter): bool {}
|
|
|
|
function xmlwriter_end_comment(XMLWriter $xmlwriter): bool {}
|
|
|
|
function xmlwriter_start_attribute(XMLWriter $xmlwriter, string $name): bool {}
|
|
|
|
function xmlwriter_end_attribute(XMLWriter $xmlwriter): bool {}
|
|
|
|
function xmlwriter_write_attribute(XMLWriter $xmlwriter, string $name, string $value): bool {}
|
|
|
|
function xmlwriter_start_attribute_ns(XMLWriter $xmlwriter, string $prefix, string $name, ?string $uri): bool {}
|
|
|
|
function xmlwriter_write_attribute_ns(XMLWriter $xmlwriter, string $prefix, string $name, ?string $uri, string $content): bool {}
|
|
|
|
function xmlwriter_start_element(XMLWriter $xmlwriter, string $name): bool {}
|
|
|
|
function xmlwriter_end_element(XMLWriter $xmlwriter): bool {}
|
|
|
|
function xmlwriter_full_end_element(XMLWriter $xmlwriter): bool {}
|
|
|
|
function xmlwriter_start_element_ns(XMLWriter $xmlwriter, ?string $prefix, string $name, ?string $uri): bool {}
|
|
|
|
function xmlwriter_write_element(XMLWriter $xmlwriter, string $name, ?string $content = null): bool {}
|
|
|
|
function xmlwriter_write_element_ns(XMLWriter $xmlwriter, ?string $prefix, string $name, ?string $uri, ?string $content = null): bool {}
|
|
|
|
function xmlwriter_start_pi(XMLWriter $xmlwriter, string $target): bool {}
|
|
|
|
function xmlwriter_end_pi(XMLWriter $xmlwriter): bool {}
|
|
|
|
function xmlwriter_write_pi(XMLWriter $xmlwriter, string $target, string $content): bool {}
|
|
|
|
function xmlwriter_start_cdata(XMLWriter $xmlwriter): bool {}
|
|
|
|
function xmlwriter_end_cdata(XMLWriter $xmlwriter): bool {}
|
|
|
|
function xmlwriter_write_cdata(XMLWriter $xmlwriter, string $content): bool {}
|
|
|
|
function xmlwriter_text(XMLWriter $xmlwriter, string $content): bool {}
|
|
|
|
function xmlwriter_write_raw(XMLWriter $xmlwriter, string $content): bool {}
|
|
|
|
function xmlwriter_start_document(XMLWriter $xmlwriter, ?string $version = '1.0', ?string $encoding = null, ?string $standalone = null) {}
|
|
|
|
function xmlwriter_end_document(XMLWriter $xmlwriter): bool {}
|
|
|
|
function xmlwriter_write_comment(XMLWriter $xmlwriter, string $content): bool {}
|
|
|
|
function xmlwriter_start_dtd(XMLWriter $xmlwriter, string $qualifiedName, ?string $publicId = null, ?string $systemId = null): bool {}
|
|
|
|
function xmlwriter_end_dtd(XMLWriter $xmlwriter): bool {}
|
|
|
|
function xmlwriter_write_dtd(XMLWriter $xmlwriter, string $name, ?string $publicId = null, ?string $systemId = null, ?string $subset = null): bool {}
|
|
|
|
function xmlwriter_start_dtd_element(XMLWriter $xmlwriter, string $qualifiedName): bool {}
|
|
|
|
function xmlwriter_end_dtd_element(XMLWriter $xmlwriter): bool {}
|
|
|
|
function xmlwriter_write_dtd_element(XMLWriter $xmlwriter, string $name, string $content): bool {}
|
|
|
|
function xmlwriter_start_dtd_attlist(XMLWriter $xmlwriter, string $name): bool {}
|
|
|
|
function xmlwriter_end_dtd_attlist(XMLWriter $xmlwriter): bool {}
|
|
|
|
function xmlwriter_write_dtd_attlist(XMLWriter $xmlwriter, string $name, string $content): bool {}
|
|
|
|
function xmlwriter_start_dtd_entity(XMLWriter $xmlwriter, string $name, bool $isparam): bool {}
|
|
|
|
function xmlwriter_end_dtd_entity(XMLWriter $xmlwriter): bool {}
|
|
|
|
function xmlwriter_write_dtd_entity(XMLWriter $xmlwriter, string $name, string $content, bool $isparam = false, string $publicId = UNKNOWN, string $systemId = UNKNOWN, string $ndataid = UNKNOWN): bool {}
|
|
|
|
function xmlwriter_output_memory(XMLWriter $xmlwriter, bool $flush = true): string {}
|
|
|
|
/** @return string|int */
|
|
function xmlwriter_flush(XMLWriter $xmlwriter, bool $empty = true) {}
|
|
|
|
class XMLWriter
|
|
{
|
|
function openUri(string $uri): bool {}
|
|
|
|
function openMemory(): bool {}
|
|
|
|
function setIndent(bool $indent): bool {}
|
|
|
|
function setIdentString(string $indentString): bool {}
|
|
|
|
function startComment(): bool {}
|
|
|
|
function endComment(): bool {}
|
|
|
|
function startAttribute(string $name): bool {}
|
|
|
|
function endAttribute(): bool {}
|
|
|
|
function writeAttribute(string $name, string $value): bool {}
|
|
|
|
function startAttributeNs(string $prefix, string $name, ?string $uri): bool {}
|
|
|
|
function writeAttributeNs(string $prefix, string $name, ?string $uri, string $content): bool {}
|
|
|
|
function startElement(string $name): bool {}
|
|
|
|
function endElement(): bool {}
|
|
|
|
function fullEndElement(): bool {}
|
|
|
|
function startElementNs(?string $prefix, string $name, ?string $uri): bool {}
|
|
|
|
function writeElement(string $name, ?string $content = null): bool {}
|
|
|
|
function writeElementNs(?string $prefix, string $name, ?string $uri, ?string $content = null): bool {}
|
|
|
|
function startPi(string $target): bool {}
|
|
|
|
function endPi(): bool {}
|
|
|
|
function writePi(string $target, string $content): bool {}
|
|
|
|
function startCdata(): bool {}
|
|
|
|
function endCdata(): bool {}
|
|
|
|
function writeCdata(string $content): bool {}
|
|
|
|
function text(string $content): bool {}
|
|
|
|
function writeRaw(string $content): bool {}
|
|
|
|
function startDocument(?string $version = '1.0', ?string $encoding = null, ?string $standalone = null): bool {}
|
|
|
|
function endDocument(): bool {}
|
|
|
|
function writeComment(string $content): bool {}
|
|
|
|
function startDtd(string $qualifiedName, ?string $publicId = null, ?string $systemId = null): bool {}
|
|
|
|
function endDtd(): bool {}
|
|
|
|
function writeDtd(string $name, ?string $publicId = null, ?string $systemId = null, ?string $subset = null): bool {}
|
|
|
|
function startDtdElement(string $qualifiedName): bool {}
|
|
|
|
function endDtdElement(): bool {}
|
|
|
|
function writeDtdElement(string $name, string $content): bool {}
|
|
|
|
function startDtdAttlist(string $name): bool {}
|
|
|
|
function endDtdAttlist(): bool {}
|
|
|
|
function writeDtdAttlist(string $name, string $content): bool {}
|
|
|
|
function startDtdEntity(string $name, bool $isparam): bool {}
|
|
|
|
function endDtdEntity(): bool {}
|
|
|
|
function writeDtdEntity(string $name, string $content, bool $isparam, string $publicId = UNKNOWN, string $systemId = UNKNOWN, string $ndataid = UNKNOWN): bool {}
|
|
|
|
function outputMemory(bool $flush = true): string {}
|
|
|
|
/** @return string|int */
|
|
function flush(bool $empty = true) {}
|
|
}
|