Home > PHP > Function > Tidy > tidy_warning_count()

tidy_warning_count()

tidy_warning_count - Returns the Number of Tidy warnings encountered for specified document

Syntax

int tidy_warning_count (tidy $object)

Arguments

  • object - The Tidyobject.

Description

Returns the number of Tidy warnings encountered for the specified document.

Version

PHP 5, PECL tidy >= 0.5.2

Return value

Returns the number of warnings.