PHP - Manual: tidy::isXml
2025-02-27
(PHP 5, PHP 7, PHP 8, PECL tidy >= 0.5.2)
tidy::isXml -- tidy_is_xml — Indicates if the document is a generic (non HTML/XHTML) XML document
面向对象风格
过程化风格
Tells if the document is a generic (non HTML/XHTML) XML document.