1--TEST--
2Bug #22008 (strip_tags() eliminates too much)
3--FILE--
4<?php
5$html = <<< HERE
6<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
7<html>
8<head>
9<title>test</title>
10</head>
11<body>
12<b>PHP!</b>
13</body>
14</html>
15
16HERE;
17
18echo trim(strip_tags($html, '<b>'))."\n";
19?>
20--EXPECT--
21test
22
23
24<b>PHP!</b>
25