tidy::getHtmlVer

tidy_get_html_ver

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

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

说明

面向对象风格

public tidy::getHtmlVer(): int

过程化风格

tidy_get_html_ver(tidy $tidy): int

Returns the detected HTML version for the specified tidy tidy.

参数

tidy

The Tidy 对象。

返回值

Returns the detected HTML version.

警告

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