summaryrefslogtreecommitdiff
path: root/ext/tidy/tests/013.phpt
blob: 5db0ce1cd88848ddac65dc9110928a01f5cc0e1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Parsing a file using constructor
--SKIPIF--
<?php if (!extension_loaded("tidy")) print "skip"; ?>
--POST--
--GET--
--INI--
--FILE--
<?php
        $tidy = new tidy("ext/tidy/tests/013.html", array("show-body-only"=>true));
        $tidy->clean_repair();
        echo $tidy;

?>
--EXPECT--
<b>testing</b>