summaryrefslogtreecommitdiff
path: root/ext/tidy/tests/016.phpt
blob: 05b7cc18f9af3db44a3d7f56fb9bf47c056b5733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--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(dirname(__FILE__)."/016.html",
                                dirname(__FILE__)."/016.tcfg");
        $cfg = $tidy->getConfig();
        echo $cfg["clean"];
?>
--EXPECT--
1