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

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