← All docs

tidy_get_error_buffer()

Returns the warnings and errors produced while parsing the document, or false when there are none.

tidy_get_error_buffer()

function tidy_get_error_buffer(mixed $tidy): string|false

Returns the warnings and errors produced while parsing the document, or false when there are none.

Parameters:

  • $tidy (mixed)

Returns: string|false

Availability

Compiled (AOT)Magician (eval)
AvailableAvailable

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how tidy_get_error_buffer is implemented in the compiler, see the internals page.