* Create new xmlwriter using source uri for output * @link https://php.net/manual/en/function.xmlwriter-openuri.php * @param string $uri

* The URI of the resource for the output. *

* @return bool Object oriented style: Returns TRUE on success or FALSE on failure. *

*

* Procedural style: Returns a new xmlwriter resource for later use with the * xmlwriter functions on success, FALSE on error. */ #[TentativeType] public function openUri(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $uri): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create new xmlwriter using memory for string output * @link https://php.net/manual/en/function.xmlwriter-openmemory.php * @return bool Object oriented style: Returns TRUE on success or FALSE on failure. *

*

* Procedural style: Returns a new xmlwriter resource for later use with the * xmlwriter functions on success, FALSE on error. */ #[TentativeType] public function openMemory(): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Toggle indentation on/off. * @link https://www.php.net/manual/en/xmlwriter.setindent.php * @param bool|int $enable

* Whether indentation is enabled or number of indent strings *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function setIndent(#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $enable): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Set string used for indenting. * @link https://www.php.net/manual/en/xmlwriter.setindentstring.php * @param string $indentation

* The indentation string. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function setIndentString(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $indentation): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 1.0.0)
* Create start comment * @link https://php.net/manual/en/function.xmlwriter-startcomment.php * @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function startComment(): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 1.0.0)
* Create end comment * @link https://php.net/manual/en/function.xmlwriter-endcomment.php * @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function endComment(): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start attribute * @link https://php.net/manual/en/function.xmlwriter-startattribute.php * @param string $name

* The attribute name. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function startAttribute(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End attribute * @link https://php.net/manual/en/function.xmlwriter-endattribute.php * @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function endAttribute(): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full attribute * @link https://php.net/manual/en/function.xmlwriter-writeattribute.php * @param string $name

* The name of the attribute. *

* @param string $value

* The value of the attribute. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function writeAttribute( #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $value ): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start namespaced attribute * @link https://php.net/manual/en/function.xmlwriter-startattributens.php * @param string|null $prefix

* The namespace prefix. *

* @param string $name

* The attribute name. *

* @param string $namespace

* The namespace URI. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function startAttributeNs( #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $prefix, #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace ): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full namespaced attribute * @link https://php.net/manual/en/function.xmlwriter-writeattributens.php * @param string|null $prefix

* The namespace prefix. *

* @param string $name

* The attribute name. *

* @param string $namespace

* The namespace URI. *

* @param string $value

* The attribute value. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function writeAttributeNs( #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $prefix, #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace, #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $value ): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start element tag * @link https://php.net/manual/en/function.xmlwriter-startelement.php * @param string $name

* The element name. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function startElement(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End current element * @link https://php.net/manual/en/function.xmlwriter-endelement.php * @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function endElement(): bool {} /** * (PHP 5 >= 5.2.0, PECL xmlwriter >= 2.0.4)
* End current element * @link https://php.net/manual/en/function.xmlwriter-fullendelement.php * @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function fullEndElement(): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start namespaced element tag * @link https://php.net/manual/en/function.xmlwriter-startelementns.php * @param string|null $prefix

* The namespace prefix. *

* @param string $name

* The element name. *

* @param string $namespace

* The namespace URI. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function startElementNs( #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $prefix, #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace ): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full element tag * @link https://php.net/manual/en/function.xmlwriter-writeelement.php * @param string $name

* The element name. *

* @param string $content [optional]

* The element contents. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function writeElement( #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $content = null ): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full namespaced element tag * @link https://php.net/manual/en/function.xmlwriter-writeelementns.php * @param string|null $prefix

* The namespace prefix. *

* @param string $name

* The element name. *

* @param string $namespace

* The namespace URI. *

* @param string $content [optional]

* The element contents. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function writeElementNs( #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $prefix, #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $content = null ): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start PI tag * @link https://php.net/manual/en/function.xmlwriter-startpi.php * @param string $target

* The target of the processing instruction. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function startPi(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $target): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End current PI * @link https://php.net/manual/en/function.xmlwriter-endpi.php * @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function endPi(): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Writes a PI * @link https://php.net/manual/en/function.xmlwriter-writepi.php * @param string $target

* The target of the processing instruction. *

* @param string $content

* The content of the processing instruction. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function writePi( #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $target, #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $content ): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start CDATA tag * @link https://php.net/manual/en/function.xmlwriter-startcdata.php * @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function startCdata(): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End current CDATA * @link https://php.net/manual/en/function.xmlwriter-endcdata.php * @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function endCdata(): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full CDATA tag * @link https://php.net/manual/en/function.xmlwriter-writecdata.php * @param string $content

* The contents of the CDATA. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function writeCdata(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $content): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write text * @link https://php.net/manual/en/function.xmlwriter-text.php * @param string $content

* The contents of the text. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function text(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $content): bool {} /** * (PHP 5 >= 5.2.0, PECL xmlwriter >= 2.0.4)
* Write a raw XML text * @link https://php.net/manual/en/function.xmlwriter-writeraw.php * @param string $content

* The text string to write. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function writeRaw(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $content): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create document tag * @link https://php.net/manual/en/function.xmlwriter-startdocument.php * @param string $version [optional]

* The version number of the document as part of the XML declaration. *

* @param string $encoding [optional]

* The encoding of the document as part of the XML declaration. *

* @param string $standalone [optional]

* yes or no. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function startDocument( #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $version = '1.0', #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $encoding = null, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $standalone = null ): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End current document * @link https://php.net/manual/en/function.xmlwriter-enddocument.php * @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function endDocument(): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full comment tag * @link https://php.net/manual/en/function.xmlwriter-writecomment.php * @param string $content

* The contents of the comment. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function writeComment(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $content): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start DTD tag * @link https://php.net/manual/en/function.xmlwriter-startdtd.php * @param string $qualifiedName

* The qualified name of the document type to create. *

* @param string $publicId [optional]

* The external subset public identifier. *

* @param string $systemId [optional]

* The external subset system identifier. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function startDtd( #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $publicId = null, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $systemId = null ): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End current DTD * @link https://php.net/manual/en/function.xmlwriter-enddtd.php * @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function endDtd(): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full DTD tag * @link https://php.net/manual/en/function.xmlwriter-writedtd.php * @param string $name

* The DTD name. *

* @param string $publicId [optional]

* The external subset public identifier. *

* @param string $systemId [optional]

* The external subset system identifier. *

* @param string $content [optional]

* The content of the DTD. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function writeDtd( #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $publicId = null, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $systemId = null, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $content = null ): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start DTD element * @link https://php.net/manual/en/function.xmlwriter-startdtdelement.php * @param string $qualifiedName

* The qualified name of the document type to create. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function startDtdElement(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End current DTD element * @link https://php.net/manual/en/function.xmlwriter-enddtdelement.php * @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function endDtdElement(): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full DTD element tag * @link https://php.net/manual/en/function.xmlwriter-writedtdelement.php * @param string $name

* The name of the DTD element. *

* @param string $content

* The content of the element. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function writeDtdElement( #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $content ): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start DTD AttList * @link https://php.net/manual/en/function.xmlwriter-startdtdattlist.php * @param string $name

* The attribute list name. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function startDtdAttlist(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End current DTD AttList * @link https://php.net/manual/en/function.xmlwriter-enddtdattlist.php * @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function endDtdAttlist(): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full DTD AttList tag * @link https://php.net/manual/en/function.xmlwriter-writedtdattlist.php * @param string $name

* The name of the DTD attribute list. *

* @param string $content

* The content of the DTD attribute list. *

* @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function writeDtdAttlist( #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $content ): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start DTD Entity * @link https://php.net/manual/en/function.xmlwriter-startdtdentity.php * @param string $name

* The name of the entity. *

* @param bool $isParam * @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function startDtdEntity( #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $isParam ): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End current DTD Entity * @link https://php.net/manual/en/function.xmlwriter-enddtdentity.php * @return bool TRUE on success or FALSE on failure. */ #[TentativeType] public function endDtdEntity(): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full DTD Entity tag * @link https://php.net/manual/en/function.xmlwriter-writedtdentity.php * @param string $name

* The name of the entity. *

* @param string $content

* The content of the entity. *

* @param bool $pe * @param string $pubid * @param string $sysid * @param string $ndataid * @return bool TRUE on success or FALSE on failure. */ public function writeDtdEntity( #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $content, $pe, $pubid, $sysid, $ndataid ) {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Returns current buffer * @link https://php.net/manual/en/function.xmlwriter-outputmemory.php * @param bool $flush [optional]

* Whether to flush the output buffer or not. Default is TRUE. *

* @return string the current buffer as a string. */ #[TentativeType] public function outputMemory(#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $flush = true): string {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 1.0.0)
* Flush current buffer * @link https://php.net/manual/en/function.xmlwriter-flush.php * @param bool $empty [optional]

* Whether to empty the buffer or not. Default is TRUE. *

* @return string|int If you opened the writer in memory, this function returns the generated XML buffer, * Else, if using URI, this function will write the buffer and return the number of * written bytes. */ #[TentativeType] public function flush(#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $empty = true): string|int {} } /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create new xmlwriter using source uri for output * @link https://php.net/manual/en/function.xmlwriter-openuri.php * @param string $uri

* The URI of the resource for the output. *

* @return false|resource|XMLWriter Object oriented style: Returns TRUE on success or FALSE on failure. *

* Procedural style: Returns a new xmlwriter resource for later use with the * xmlwriter functions on success, FALSE on error. *

*/ #[LanguageLevelTypeAware(["8.0" => "XMLWriter|false"], default: "resource|false")] function xmlwriter_open_uri(string $uri) {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create new xmlwriter using memory for string output * @link https://php.net/manual/en/function.xmlwriter-openmemory.php * @return XMLWriter|false|resource Object oriented style: Returns TRUE on success or FALSE on failure. *

* Procedural style: Returns a new xmlwriter resource for later use with the * xmlwriter functions on success, FALSE on error. *

*/ #[LanguageLevelTypeAware(["8.0" => "XMLWriter|false"], default: "resource|false")] function xmlwriter_open_memory() {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Toggle indentation on/off * @link https://php.net/manual/en/function.xmlwriter-setindent.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param bool $enable

* Whether indentation is enabled. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_set_indent(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, bool $enable): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Set string used for indenting * @link https://php.net/manual/en/function.xmlwriter-setindentstring.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $indentation

* The indentation string. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_set_indent_string(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $indentation): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 1.0.0)
* Create start comment * @link https://php.net/manual/en/function.xmlwriter-startcomment.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_start_comment(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 1.0.0)
* Create end comment * @link https://php.net/manual/en/function.xmlwriter-endcomment.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_end_comment(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start attribute * @link https://php.net/manual/en/function.xmlwriter-startattribute.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $name

* The attribute name. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_start_attribute(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $name): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End attribute * @link https://php.net/manual/en/function.xmlwriter-endattribute.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_end_attribute(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full attribute * @link https://php.net/manual/en/function.xmlwriter-writeattribute.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $name

* The name of the attribute. *

* @param string $value

* The value of the attribute. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_write_attribute(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $name, string $value): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start namespaced attribute * @link https://php.net/manual/en/function.xmlwriter-startattributens.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string|null $prefix

* The namespace prefix. *

* @param string $name

* The attribute name. *

* @param string|null $namespace

* The namespace URI. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_start_attribute_ns(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, ?string $prefix, string $name, ?string $namespace): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full namespaced attribute * @link https://php.net/manual/en/function.xmlwriter-writeattributens.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string|null $prefix

* The namespace prefix. *

* @param string $name

* The attribute name. *

* @param string|null $namespace

* The namespace URI. *

* @param string $value

* The attribute value. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_write_attribute_ns(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, ?string $prefix, string $name, ?string $namespace, string $value): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start element tag * @link https://php.net/manual/en/function.xmlwriter-startelement.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $name

* The element name. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_start_element(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $name): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End current element * @link https://php.net/manual/en/function.xmlwriter-endelement.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_end_element(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {} /** * (PHP 5 >= 5.2.0, PECL xmlwriter >= 2.0.4)
* End current element * @link https://php.net/manual/en/function.xmlwriter-fullendelement.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_full_end_element(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start namespaced element tag * @link https://php.net/manual/en/function.xmlwriter-startelementns.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string|null $prefix

* The namespace prefix. *

* @param string $name

* The element name. *

* @param string|null $namespace

* The namespace URI. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_start_element_ns(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, ?string $prefix, string $name, ?string $namespace): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full element tag * @link https://php.net/manual/en/function.xmlwriter-writeelement.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $name

* The element name. *

* @param string|null $content [optional]

* The element contents. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_write_element(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $name, ?string $content): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full namespaced element tag * @link https://php.net/manual/en/function.xmlwriter-writeelementns.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string|null $prefix

* The namespace prefix. *

* @param string $name

* The element name. *

* @param string|null $namespace

* The namespace URI. *

* @param string|null $content [optional]

* The element contents. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_write_element_ns(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, ?string $prefix, string $name, ?string $namespace, ?string $content): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start PI tag * @link https://php.net/manual/en/function.xmlwriter-startpi.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $target

* The target of the processing instruction. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_start_pi(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $target): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End current PI * @link https://php.net/manual/en/function.xmlwriter-endpi.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_end_pi(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Writes a PI * @link https://php.net/manual/en/function.xmlwriter-writepi.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $target

* The target of the processing instruction. *

* @param string $content

* The content of the processing instruction. *

* * @return bool TRUE on success or FALSE on failure. */ function xmlwriter_write_pi(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $target, string $content): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start CDATA tag * @link https://php.net/manual/en/function.xmlwriter-startcdata.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_start_cdata(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End current CDATA * @link https://php.net/manual/en/function.xmlwriter-endcdata.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_end_cdata(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full CDATA tag * @link https://php.net/manual/en/function.xmlwriter-writecdata.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $content

* The contents of the CDATA. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_write_cdata(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $content): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write text * @link https://php.net/manual/en/function.xmlwriter-text.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $content

* The contents of the text. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_text(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $content): bool {} /** * (PHP 5 >= 5.2.0, PECL xmlwriter >= 2.0.4)
* Write a raw XML text * @link https://php.net/manual/en/function.xmlwriter-writeraw.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $content

* The text string to write. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_write_raw(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $content): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create document tag * @link https://php.net/manual/en/function.xmlwriter-startdocument.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string|null $version [optional]

* The version number of the document as part of the XML declaration. *

* @param string|null $encoding [optional]

* The encoding of the document as part of the XML declaration. *

* @param string|null $standalone [optional]

* yes or no. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_start_document(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, ?string $version = '1.0', ?string $encoding, ?string $standalone): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End current document * @link https://php.net/manual/en/function.xmlwriter-enddocument.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_end_document(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full comment tag * @link https://php.net/manual/en/function.xmlwriter-writecomment.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $content

* The contents of the comment. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_write_comment(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $content): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start DTD tag * @link https://php.net/manual/en/function.xmlwriter-startdtd.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $qualifiedName

* The qualified name of the document type to create. *

* @param string|null $publicId [optional]

* The external subset public identifier. *

* @param string|null $systemId [optional]

* The external subset system identifier. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_start_dtd(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $qualifiedName, ?string $publicId, ?string $systemId): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End current DTD * @link https://php.net/manual/en/function.xmlwriter-enddtd.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_end_dtd(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full DTD tag * @link https://php.net/manual/en/function.xmlwriter-writedtd.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $name

* The DTD name. *

* @param string|null $publicId [optional]

* The external subset public identifier. *

* @param string|null $systemId [optional]

* The external subset system identifier. *

* @param string|null $content [optional]

* The content of the DTD. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_write_dtd(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $name, ?string $publicId, ?string $systemId, ?string $content): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start DTD element * @link https://php.net/manual/en/function.xmlwriter-startdtdelement.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $qualifiedName

* The qualified name of the document type to create. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_start_dtd_element(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $qualifiedName): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End current DTD element * @link https://php.net/manual/en/function.xmlwriter-enddtdelement.php * @param $writer * @return bool TRUE on success or FALSE on failure. */ function xmlwriter_end_dtd_element(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full DTD element tag * @link https://php.net/manual/en/function.xmlwriter-writedtdelement.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $name

* The name of the DTD element. *

* @param string $content

* The content of the element. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_write_dtd_element(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $name, string $content): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start DTD AttList * @link https://php.net/manual/en/function.xmlwriter-startdtdattlist.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $name

* The attribute list name. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_start_dtd_attlist(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $name): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End current DTD AttList * @link https://php.net/manual/en/function.xmlwriter-enddtdattlist.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_end_dtd_attlist(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full DTD AttList tag * @link https://php.net/manual/en/function.xmlwriter-writedtdattlist.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $name

* The name of the DTD attribute list. *

* @param string $content

* The content of the DTD attribute list. *

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_write_dtd_attlist(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $name, string $content): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Create start DTD Entity * @link https://php.net/manual/en/function.xmlwriter-startdtdentity.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $name

* The name of the entity. *

* @param bool $isParam * @return bool TRUE on success or FALSE on failure. */ function xmlwriter_start_dtd_entity(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $name, bool $isParam): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* End current DTD Entity * @link https://php.net/manual/en/function.xmlwriter-enddtdentity.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @return bool TRUE on success or FALSE on failure. */ function xmlwriter_end_dtd_entity(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Write full DTD Entity tag * @link https://php.net/manual/en/function.xmlwriter-writedtdentity.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param string $name

* The name of the entity. *

* @param string $content

* The content of the entity. *

* @param bool $isParam * @param string $publicId * @param string $systemId * @param string $notationData * @return bool TRUE on success or FALSE on failure. */ function xmlwriter_write_dtd_entity( #[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, string $name, string $content, #[PhpStormStubsElementAvailable(from: '8.0')] bool $isParam = false, #[PhpStormStubsElementAvailable(from: '8.0')] ?string $publicId = null, #[PhpStormStubsElementAvailable(from: '8.0')] ?string $systemId = null, #[PhpStormStubsElementAvailable(from: '8.0')] ?string $notationData = null ): bool {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
* Returns current buffer * @link https://php.net/manual/en/function.xmlwriter-outputmemory.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param bool $flush [optional]

* Whether to flush the output buffer or not. Default is TRUE. *

* @return string the current buffer as a string. */ function xmlwriter_output_memory(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, bool $flush = true): string {} /** * (PHP 5 >= 5.1.2, PECL xmlwriter >= 1.0.0)
* Flush current buffer * @link https://php.net/manual/en/function.xmlwriter-flush.php * @param resource|XMLWriter $writer *

Only for procedural calls. * The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified. * This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-openuri.php" xmlwriter_open_uri()} * or {@link https://php.net/manual/en/function.xmlwriter-openmemory.php" xmlwriter_open_memory()}.

* @param bool $empty [optional]

* Whether to empty the buffer or not. Default is TRUE. *

* @return string|int If you opened the writer in memory, this function returns the generated XML buffer, * Else, if using URI, this function will write the buffer and return the number of * written bytes. */ function xmlwriter_flush(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, bool $empty = true): string|int {}