php8.5
Home/ Manual/ tidy / tidy/ tidy::getHtmlVer

tidy::getHtmlVer

PHP function Edit on GitHub ✎

Get the Detected HTML version for the specified document

Description

Oop

tidy::getHtmlVer(): int

Procedural

tidy_get_html_ver(tidy $tidy): int

Returns the detected HTML version for the specified tidy tidy.

Parameters

tidy

Object

Return Values

Returns the detected HTML version.

Warning

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

Source: reference/tidy/tidy/gethtmlver.xml · from the official PHP manual (php/doc-en)