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

說(shuō)明

面向?qū)ο箫L(fēng)格

public tidy::getHtmlVer(): int

過(guò)程化風(fēng)格

tidy_get_html_ver(tidy $tidy): int

Returns the detected HTML version for the specified tidy tidy.

參數(shù)

tidy

The Tidy 對(duì)象。

返回值

Returns the detected HTML version.

警告

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