tidy::getHtmlVer

tidy_get_html_ver

(PHP 5, PHP 7, PECL tidy >= 0.5.2)

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

说明

面向对象风格

public tidy::getHtmlVer ( void ) : int

过程化风格

tidy_get_html_ver ( tidy $object ) : int

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.