in xmlwriter/xmlwriter.php [671:1296]
function xmlwriter_set_indent(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer, bool $enable): bool {}
/**
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
* Set string used for indenting
* @link https://php.net/manual/en/function.xmlwriter-setindentstring.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $indentation <p>
* The indentation string.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Create start comment
* @link https://php.net/manual/en/function.xmlwriter-startcomment.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xmlwriter_start_comment(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {}
/**
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 1.0.0)<br/>
* Create end comment
* @link https://php.net/manual/en/function.xmlwriter-endcomment.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xmlwriter_end_comment(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {}
/**
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
* Create start attribute
* @link https://php.net/manual/en/function.xmlwriter-startattribute.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $name <p>
* The attribute name.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* End attribute
* @link https://php.net/manual/en/function.xmlwriter-endattribute.php
* @param resource|XMLWriter $writer
* <p>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()}.</p> * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xmlwriter_end_attribute(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {}
/**
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
* Write full attribute
* @link https://php.net/manual/en/function.xmlwriter-writeattribute.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $name <p>
* The name of the attribute.
* </p>
* @param string $value <p>
* The value of the attribute.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Create start namespaced attribute
* @link https://php.net/manual/en/function.xmlwriter-startattributens.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string|null $prefix <p>
* The namespace prefix.
* </p>
* @param string $name <p>
* The attribute name.
* </p>
* @param string|null $namespace <p>
* The namespace URI.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Write full namespaced attribute
* @link https://php.net/manual/en/function.xmlwriter-writeattributens.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string|null $prefix <p>
* The namespace prefix.
* </p>
* @param string $name <p>
* The attribute name.
* </p>
* @param string|null $namespace <p>
* The namespace URI.
* </p>
* @param string $value <p>
* The attribute value.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Create start element tag
* @link https://php.net/manual/en/function.xmlwriter-startelement.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $name <p>
* The element name.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* End current element
* @link https://php.net/manual/en/function.xmlwriter-endelement.php
* @param resource|XMLWriter $writer
* <p>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()}.</p> * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xmlwriter_end_element(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {}
/**
* (PHP 5 >= 5.2.0, PECL xmlwriter >= 2.0.4)<br/>
* End current element
* @link https://php.net/manual/en/function.xmlwriter-fullendelement.php
* @param resource|XMLWriter $writer
* <p>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()}.</p> * @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Create start namespaced element tag
* @link https://php.net/manual/en/function.xmlwriter-startelementns.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string|null $prefix <p>
* The namespace prefix.
* </p>
* @param string $name <p>
* The element name.
* </p>
* @param string|null $namespace <p>
* The namespace URI.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Write full element tag
* @link https://php.net/manual/en/function.xmlwriter-writeelement.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $name <p>
* The element name.
* </p>
* @param string|null $content [optional] <p>
* The element contents.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Write full namespaced element tag
* @link https://php.net/manual/en/function.xmlwriter-writeelementns.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string|null $prefix <p>
* The namespace prefix.
* </p>
* @param string $name <p>
* The element name.
* </p>
* @param string|null $namespace <p>
* The namespace URI.
* </p>
* @param string|null $content [optional] <p>
* The element contents.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Create start PI tag
* @link https://php.net/manual/en/function.xmlwriter-startpi.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $target <p>
* The target of the processing instruction.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* End current PI
* @link https://php.net/manual/en/function.xmlwriter-endpi.php
* @param resource|XMLWriter $writer
* <p>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()}.</p> * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xmlwriter_end_pi(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {}
/**
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
* Writes a PI
* @link https://php.net/manual/en/function.xmlwriter-writepi.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $target <p>
* The target of the processing instruction.
* </p>
* @param string $content <p>
* The content of the processing instruction.
* </p>
*
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Create start CDATA tag
* @link https://php.net/manual/en/function.xmlwriter-startcdata.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xmlwriter_start_cdata(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {}
/**
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
* End current CDATA
* @link https://php.net/manual/en/function.xmlwriter-endcdata.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xmlwriter_end_cdata(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {}
/**
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
* Write full CDATA tag
* @link https://php.net/manual/en/function.xmlwriter-writecdata.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $content <p>
* The contents of the CDATA.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Write text
* @link https://php.net/manual/en/function.xmlwriter-text.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $content <p>
* The contents of the text.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Write a raw XML text
* @link https://php.net/manual/en/function.xmlwriter-writeraw.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $content <p>
* The text string to write.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Create document tag
* @link https://php.net/manual/en/function.xmlwriter-startdocument.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string|null $version [optional] <p>
* The version number of the document as part of the XML declaration.
* </p>
* @param string|null $encoding [optional] <p>
* The encoding of the document as part of the XML declaration.
* </p>
* @param string|null $standalone [optional] <p>
* yes or no.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* End current document
* @link https://php.net/manual/en/function.xmlwriter-enddocument.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xmlwriter_end_document(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {}
/**
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
* Write full comment tag
* @link https://php.net/manual/en/function.xmlwriter-writecomment.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $content <p>
* The contents of the comment.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Create start DTD tag
* @link https://php.net/manual/en/function.xmlwriter-startdtd.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $qualifiedName <p>
* The qualified name of the document type to create.
* </p>
* @param string|null $publicId [optional] <p>
* The external subset public identifier.
* </p>
* @param string|null $systemId [optional] <p>
* The external subset system identifier.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* End current DTD
* @link https://php.net/manual/en/function.xmlwriter-enddtd.php
* @param resource|XMLWriter $writer
* <p>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()}.</p> * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xmlwriter_end_dtd(#[LanguageLevelTypeAware(["8.0" => "XMLWriter"], default: "resource")] $writer): bool {}
/**
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
* Write full DTD tag
* @link https://php.net/manual/en/function.xmlwriter-writedtd.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $name <p>
* The DTD name.
* </p>
* @param string|null $publicId [optional] <p>
* The external subset public identifier.
* </p>
* @param string|null $systemId [optional] <p>
* The external subset system identifier.
* </p>
* @param string|null $content [optional] <p>
* The content of the DTD.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Create start DTD element
* @link https://php.net/manual/en/function.xmlwriter-startdtdelement.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $qualifiedName <p>
* The qualified name of the document type to create.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* End current DTD element
* @link https://php.net/manual/en/function.xmlwriter-enddtdelement.php
* @param $writer
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Write full DTD element tag
* @link https://php.net/manual/en/function.xmlwriter-writedtdelement.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $name <p>
* The name of the DTD element.
* </p>
* @param string $content <p>
* The content of the element.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Create start DTD AttList
* @link https://php.net/manual/en/function.xmlwriter-startdtdattlist.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $name <p>
* The attribute list name.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* End current DTD AttList
* @link https://php.net/manual/en/function.xmlwriter-enddtdattlist.php
* @param resource|XMLWriter $writer
* <p>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()}.</p> * @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Write full DTD AttList tag
* @link https://php.net/manual/en/function.xmlwriter-writedtdattlist.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $name <p>
* The name of the DTD attribute list.
* </p>
* @param string $content <p>
* The content of the DTD attribute list.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Create start DTD Entity
* @link https://php.net/manual/en/function.xmlwriter-startdtdentity.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $name <p>
* The name of the entity.
* </p>
* @param bool $isParam
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* End current DTD Entity
* @link https://php.net/manual/en/function.xmlwriter-enddtdentity.php
* @param resource|XMLWriter $writer
* <p>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()}.</p> * @return bool <b>TRUE</b> on success or <b>FALSE</b> 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)<br/>
* Write full DTD Entity tag
* @link https://php.net/manual/en/function.xmlwriter-writedtdentity.php
* @param resource|XMLWriter $writer
* <p>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()}.</p>
* @param string $name <p>
* The name of the entity.
* </p>
* @param string $content <p>
* The content of the entity.
* </p>
* @param bool $isParam
* @param string $publicId
* @param string $systemId
* @param string $notationData
* @return bool <b>TRUE</b> on success or <b>FALSE</b> 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 {}