← All docs

tidy_clean_repair()

Executes the configured cleanup and repair operations on the document.

tidy_clean_repair()

function tidy_clean_repair(mixed $tidy): bool

Executes the configured cleanup and repair operations on the 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_clean_repair is implemented in the compiler, see the internals page.