Home > PHP > Function > Tidy > tidy_config_count()

tidy_config_count()

tidy_config_count - Returns the Number of Tidy configuration errors encountered for specified document

Syntax

int tidy_config_count (tidy $object)

Arguments

  • object - The Tidyobject.

Description

Returns the number of errors encountered in the configuration of the specified tidy object.

Version

PHP 5, PECL tidy >= 0.5.2

Return value

Returns the number of errors.