tidy_error_count
PHP 5, PHP 7, PHP 8, PECL tidy >= 0.5.2
tidy_error_count - Returns the Number of Tidy errors encountered for specified document
Manual
tidy_error_count(
tidy$tidy ): int
Returns the number of Tidy errors encountered for the specified document.
Parameters
- tidy
-
The Tidy object.
Return Values
Returns the number of errors.