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

Description

Object oriented style

public tidy::getHtmlVer ( void ) : int

Procedural style

tidy_get_html_ver ( tidy $object ) : int

Returns the detected HTML version for the specified tidy object.

Parameters

object

The 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.