← All docs

tidy_get_html()

Returns the document's html element node, or null when there is none.

tidy_get_html()

function tidy_get_html(mixed $tidy): mixed

Returns the document’s html element node, or null when there is none.

Parameters:

  • $tidy (mixed)

Returns: mixed

Availability

Compiled (AOT)Magician (eval)
AvailableAvailable

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

Internals

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