1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 07:58:20 +02:00
Files
archived-php-src/ext/tidy/tests/016.phpt
T
2019-03-15 22:55:30 +01:00

14 lines
358 B
PHP

--TEST--
Passing configuration file through tidy_parse_file() (may fail with buggy libtidy)
--SKIPIF--
<?php if (!extension_loaded("tidy")) print "skip"; ?>
--FILE--
<?php
$tidy = tidy_parse_file(__DIR__."/016.html",
__DIR__."/016.tcfg");
$cfg = $tidy->getConfig();
echo $cfg["clean"];
?>
--EXPECT--
1