tidy_getopt
tidy_is_xml
Tidy Functions
PHP Manual

# tidy_is_xhtml

(PHP 5, PECL tidy:0.5.2-1.2)

tidy_is_xhtml — Indicates if the document is a XHTML document

### Description

Procedural style:

bool tidy_is_xhtml ( tidy `$object` )

Object oriented style:

bool tidy->isXhtml ( void )

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_getopt
tidy_is_xml
Tidy Functions
PHP Manual