tidy_get_root()
function tidy_get_root(mixed $tidy): mixed
Returns the root node of the document tree, or null when there is none.
Parameters:
$tidy(mixed)
Returns: mixed
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how tidy_get_root is implemented in the compiler, see the internals page.