array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'domdocument.relaxngvalidate.php', 1 => 'DOMDocument::relaxNGValidate', 2 => 'Performs relaxNG validation on the document', ), 'up' => array ( 0 => 'class.domdocument.php', 1 => 'DOMDocument', ), 'prev' => array ( 0 => 'domdocument.registernodeclass.php', 1 => 'DOMDocument::registerNodeClass', ), 'next' => array ( 0 => 'domdocument.relaxngvalidatesource.php', 1 => 'DOMDocument::relaxNGValidateSource', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/dom/domdocument/relaxngvalidate.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

DOMDocument::relaxNGValidate

(PHP 5, PHP 7, PHP 8)

DOMDocument::relaxNGValidate Performs relaxNG validation on the document

Опис

public DOMDocument::relaxNGValidate(string $filename): bool

Performs » relaxNG validation on the document based on the given RNG schema.

Параметри

filename

The RNG file.

Значення, що повертаються

Повертає true у разі успіху або false в разі помилки.

Прогляньте також