Tidy
PHP Manual

tidy::htmlver

tidy_get_html_ver

(PHP 5, PECL tidy >= 0.5.2)

tidy::htmlver -- tidy_get_html_verGet the Detected HTML version for the specified document

说明

Object oriented style

int tidy::getHtmlVer ( void )

Procedural style

int tidy_get_html_ver ( tidy $object )

Returns the detected HTML version for the specified tidy object.

参数

object

The Tidy 对象。

返回值

Returns the detected HTML version.

Warning

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


Tidy
PHP Manual