PHP - Manual: 需求
2024-12-22
To use Tidy, you will need libtidy installed, available on the » tidy homepage. As of PHP 7.1.0, the HTML5 aware successor » libtidy5 can be used alternatively. As of PHP 7.3.0, another option is to use » libtidyp.
官方地址:https://www.php.net/manual/en/tidy.requirements.php