![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: Parsing 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>