xref: /PHP-7.0/ext/tidy/tests/026.phpt (revision 65975bfc)
1--TEST--
2tidy.clean_output test
3--SKIPIF--
4<?php if (!extension_loaded('tidy')) die('skip'); ?>
5--INI--
6tidy.clean_output=1
7--FILE--
8<html>
9<?php
10
11echo '<p>xpto</p>';
12
13?>
14</html>
15--EXPECT--
16<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
17<html>
18<head>
19<title></title>
20</head>
21<body>
22<p>xpto</p>
23</body>
24</html>
25