summaryrefslogtreecommitdiff
path: root/ext/tidy/tests/026.phpt
blob: 24a1e6f4a7c117620faf9cee2d367a1ecd52a7af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--TEST--
tidy.clean_output test
--SKIPIF--
<?php if (!extension_loaded('tidy')) die('skip'); ?>
--INI--
tidy.clean_output=1
--FILE--
<html>
<?php

echo '<p>xpto</p>';

?>
</html>
--EXPECT--
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title></title>
</head>
<body>
<p>xpto</p>
</body>
</html>