mirror of
https://github.com/php/php-src.git
synced 2024-10-19 07:22:40 +00:00
25 lines
313 B
Plaintext
25 lines
313 B
Plaintext
|
--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>
|