(PHP 5, PHP 7, PECL tidy >= 0.5.2)
tidy::getStatus -- tidy_get_status — Get status of specified document
Object oriented style
public tidy::getStatus ( ) : int
Procedural style
tidy_get_status ( tidy $tidy ) : int
Returns the status for the specified tidy tidy
.
tidy
The Tidy object.
Returns 0 if no error/warning was raised, 1 for warnings or accessibility errors, or 2 for errors.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/tidy.getstatus.php