Tidy
PHP Manual

tidy::isXhtml

tidy_is_xhtml

(PHP 5, PECL tidy >= 0.5.2)

tidy::isXhtml -- tidy_is_xhtmlIndicates if the document is a XHTML document

说明

Object oriented style

bool tidy::isXhtml ( void )

Procedural style

bool tidy_is_xhtml ( tidy $object )

Tells if the document is a XHTML document.

参数

object

The Tidy 对象。

返回值

This function returns TRUE if the specified tidy object is a XHTML document, or FALSE otherwise.

Warning

This function is not yet implemented in the Tidylib itself, so it always return FALSE.


Tidy
PHP Manual