tidy_get_status Get status of specified document Description Procedural style: inttidy_get_status resourcetidy Object oriented style: inttidy->getStatus tidy_get_status returns the status for the specified tidy resource. It returns 0 if no error/warning was raised, 1 for warnings or accessibility errors, or 2 for errors. <function>tidy_get_status</function> example paragraph'; $tidy = tidy_parse_string($html); $html2 = 'test'; $tidy2 = tidy_parse_string($html2); echo tidy_get_status($tidy); //1 echo tidy_get_status($tidy2); //2 ?> ]]>