tidy_get_error_buffer Return warnings and errors which occurred parsing the specified document &reftitle.description; Procedural style: stringtidy_get_error_buffer tidyobject Object oriented style (property): tidy stringerrorBuffer Returns warnings and errors which occurred parsing the specified document. &reftitle.parameters; object &tidy.object; &reftitle.returnvalues; Returns the error buffer as a string. &reftitle.examples; <function>tidy_get_error_buffer</function> example paragraph

'; $tidy = tidy_parse_string($html); echo tidy_get_error_buffer($tidy); /* or in OO: */ echo $tidy->errorBuffer; ?> ]]>
&example.outputs; declaration line 1 column 1 - Warning: inserting missing 'title' element ]]>
&reftitle.seealso; tidy_access_count tidy_error_count tidy_warning_count