<?php $html = '<p>paragraph</i>';$tidy = tidy_parse_string($html);$html2 = '<bogus>test</bogus>';$tidy2 = tidy_parse_string($html2); echo tidy_get_status($tidy); //1echo tidy_get_status($tidy2); //2?>