Tidy/setup-Phpdoc专题
安装/配置
目录
需求
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.
安装
This extension is bundled with PHP 5 and greater, and is installed using the --with-tidy configure option.
运行时配置
这些函数的行为受 php.ini 中的设置影响。
| 名字 | 默认 | 可修改范围 | 更新日志 |
|---|---|---|---|
| tidy.default_config | "" | PHP_INI_SYSTEM | |
| tidy.clean_output | "0" | PHP_INI_USER | PHP_INI_PERDIR prior to PHP 5.4.0 |
有关 PHP_INI_* 样式的更多详情与定义,见 配置可被设定范围。
这是配置指令的简短说明。
tidy.default_config string
Default path for tidy config file.
tidy.clean_output bool
Turns on/off the output repairing by Tidy.
Warning Do not turn on tidy.clean_output if you are generating non-html content such as dynamic images.
资源类型
此扩展没有定义资源类型。