xref: /PHP-8.0/ext/tidy/tests/013.phpt (revision 26dfce7f)
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(__DIR__."/013.html", array("show-body-only"=>true));
8        $tidy->cleanRepair();
9        echo $tidy;
10
11?>
12--EXPECT--
13<b>testing</b>
14