← All docs

tidy_get_config()

Returns the document's complete configuration as an associative array.

tidy_get_config()

function tidy_get_config(mixed $tidy): array

Returns the document’s complete configuration as an associative array.

Parameters:

  • $tidy (mixed)

Returns: array

Availability

Compiled (AOT)Magician (eval)
AvailableAvailable

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

Internals

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