php-8.0.30-src/ext/tidy/tests/016.phpt

14 lines
358 B
PHP

--TEST--
Passing configuration file through tidy_parse_file() (may fail with buggy libtidy)
--SKIPIF--
<?php if (!extension_loaded("tidy")) print "skip"; ?>
--FILE--
<?php
$tidy = tidy_parse_file(__DIR__."/016.html",
__DIR__."/016.tcfg");
$cfg = $tidy->getConfig();
echo $cfg["clean"];
?>
--EXPECT--
1