xref: /PHP-7.2/ext/tidy/tests/013.phpt (revision c6fad655)
1--TEST--
2Parsing a file using constructor
3--SKIPIF--
4<?php if (!extension_loaded("tidy")) print "skip"; ?>
5--FILE--
6<?php
7        $tidy = new tidy(dirname(__FILE__)."/013.html", array("show-body-only"=>true));
8        $tidy->cleanRepair();
9        echo $tidy;
10
11?>
12--EXPECT--
13<b>testing</b>
14