← All docs

tidy_diagnose()

Runs the configured accessibility and compatibility diagnostics on a parsed document.

tidy_diagnose()

function tidy_diagnose(mixed $tidy): bool

Runs the configured accessibility and compatibility diagnostics on a parsed document.

Parameters:

  • $tidy (mixed)

Returns: bool

Availability

Compiled (AOT)Magician (eval)
AvailableAvailable

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

Internals

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