![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: tidy_parse_string() ! 3: --SKIPIF-- ! 4: <?php if (!extension_loaded("tidy")) print "skip"; ?> ! 5: --FILE-- ! 6: <?php ! 7: $a = tidy_parse_string("<HTML></HTML>"); ! 8: echo tidy_get_output($a); ! 9: ! 10: ?> ! 11: --EXPECT-- ! 12: <html> ! 13: <head> ! 14: <title></title> ! 15: </head> ! 16: <body> ! 17: </body> ! 18: </html>