mirror of
https://github.com/php/php-src.git
synced 2024-10-10 03:02:13 +00:00
fac5939f42
and fixed another test
17 lines
311 B
PHP
17 lines
311 B
PHP
--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->cleanRepair();
|
|
echo $tidy;
|
|
|
|
?>
|
|
--EXPECT--
|
|
<b>testing</b>
|