Get status of specified document
(PHP 5, PECL tidy:0.5.2-1.2)
int tidy_get_status ( tidyobject )
int tidy->getStatus ( )
Procedural style:
Object oriented style:
tidy_get_status() returns the status for the specified
tidy object. It returns 0 if no error/warning
was raised, 1 for warnings or accessibility errors, or 2 for errors.