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