(PHP 5, PHP 7, PECL tidy >= 0.5.2)
Parse a document stored in a string
bool tidy::parseString ( string $input [, mixed $config [, string $encoding ]] )
Object oriented style
Procedural style
tidy tidy_parse_string ( string $input [, mixed $config [, string $encoding ]] )
Parses a document stored in a string.
Parameters:
input
The data to be parsed.