php man page for tidy_get_error_buffer

Query: tidy_get_error_buffer

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

TIDY_GET_ERROR_BUFFER(3)						 1						  TIDY_GET_ERROR_BUFFER(3)

tidy::$errorBuffer - Return warnings and errors which occurred parsing the specified document

       Object oriented style (property):

SYNOPSIS
string$tidy->errorBuffer ()
DESCRIPTION
Procedural style: string tidy_get_error_buffer (tidy $tidy) Returns warnings and errors which occurred parsing the specified document.
PARAMETERS
o $tidy - The Tidy object.
RETURN VALUES
Returns the error buffer as a string.
EXAMPLES
Example #1 tidy_get_error_buffer(3) example <?php $html = '<p>paragraph</p>'; $tidy = tidy_parse_string($html); echo tidy_get_error_buffer($tidy); /* or in OO: */ echo $tidy->errorBuffer; ?> The above example will output: line 1 column 1 - Warning: missing <!DOCTYPE> declaration line 1 column 1 - Warning: inserting missing 'title' element
SEE ALSO
tidy_access_count(3), tidy_error_count(3), tidy_warning_count(3). PHP Documentation Group TIDY_GET_ERROR_BUFFER(3)
Related Man Pages
tidy_access_count(3) - php
tidy_get_body(3) - php
tidy_get_head(3) - php
tidy.errorbuffer(3) - php
tidy.getopt(3) - php
Similar Topics in the Unix Linux Community
Permission denied problem
Warning for m2dmhot: 1st Warning to Add Code Tags
Warning for KuldeepSinghTCS: 1st Warning to Add Code Tags
Double echo problem
Html parsing - get line after specific string till a point