Tidy 函数
PHP 手册

tidy_get_html_ver

(PHP 5, PECL tidy >= 0.5.2)

tidy_get_html_verGet the Detected HTML version for the specified document

Description

Procedural style:

int tidy_get_html_ver ( tidy $object )

Object oriented style:

int tidy->getHtmlVer ( void )

tidy_get_html_ver() returns the detected HTML version for the specified tidy object .

Warning

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


Tidy 函数
PHP 手册