xref: /PHP-8.1/ext/tidy/tests/026.phpt (revision 1a370d33)
1--TEST--
2tidy.clean_output test
3--EXTENSIONS--
4tidy
5--SKIPIF--
6<?php
7if (getenv('SKIP_PRELOAD')) die('skip Output handler interferes');
8?>
9--INI--
10tidy.clean_output=1
11--FILE--
12<html>
13<?php
14
15echo '<p>xpto</p>';
16
17?>
18</html>
19--EXPECTF--
20<!DOCTYPE html%S>
21<html>
22<head>
23<title></title>
24</head>
25<body>
26<p>xpto</p>
27</body>
28</html>
29