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

說明

面向?qū)ο箫L格

public tidy::getHtmlVer(): int

過程化風格

tidy_get_html_ver(tidy $tidy): int

Returns the detected HTML version for the specified tidy tidy.

參數(shù)

tidy

The Tidy 對象。

返回值

Returns the detected HTML version.

警告

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