mirror of
https://github.com/php/php-src.git
synced 2024-10-03 15:56:11 +00:00
25 lines
328 B
Plaintext
25 lines
328 B
Plaintext
|
--TEST--
|
||
|
tidy_parse_string()
|
||
|
--SKIPIF--
|
||
|
<?php if (!extension_loaded("Tidy")) print "skip"; ?>
|
||
|
--POST--
|
||
|
--GET--
|
||
|
--INI--
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
$tidy = tidy_create();
|
||
|
|
||
|
tidy_parse_string($tidy, "<HTML></HTML>");
|
||
|
|
||
|
echo tidy_get_output($tidy);
|
||
|
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
<html>
|
||
|
<head>
|
||
|
<title></title>
|
||
|
</head>
|
||
|
<body>
|
||
|
</body>
|
||
|
</html>
|