(PHP 5, PHP 7, PHP 8, PECL tidy >= 0.5.2)
tidy::isXhtml -- tidy_is_xhtml — Indicates if the document is a XHTML document
Object-oriented style
public tidy::isXhtml(): bool
Procedural style
tidy_is_xhtml(tidy $tidy): bool
Tells if the document is a XHTML document.
tidyThe Tidy object.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/tidy.isxhtml.php