← All docs

tidy_error_count()

Returns the number of errors encountered for the document.

tidy_error_count()

function tidy_error_count(mixed $tidy): int

Returns the number of errors encountered for the document.

Parameters:

  • $tidy (mixed)

Returns: int

Availability

Compiled (AOT)Magician (eval)
AvailableAvailable

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

Internals

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