Home > PHP > Function > Tidy > tidy_error_count()

tidy_error_count()

tidy_error_count - Returns the Number of Tidy errors encountered for specified document

Syntax

int tidy_error_count (tidy $object)

Arguments

  • object - The Tidyobject.

Description

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

Version

PHP 5, PECL tidy >= 0.5.2

Return value

Returns the number of errors.