Annotation of embedaddon/php/ext/standard/tests/strings/bug45485.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Bug #45485 (strip_tags and <?XML tag)
3: --FILE--
4: <?php
5:
6: $s =<<< EOD
7: This text is shown <?XML:NAMESPACE PREFIX = ST1 /><b>This Text disappears</b>
8: EOD;
9:
10: $s = strip_tags($s);
11: echo htmlspecialchars($s),"\n";
12:
13: $s =<<< EOD
14: This text is shown <?xml:NAMESPACE PREFIX = ST1 /><b>This Text disappears</b>
15: EOD;
16:
17: $s = strip_tags($s);
18: echo htmlspecialchars($s),"\n";
19:
20: ?>
21: --EXPECT--
22: This text is shown This Text disappears
23: This text is shown This Text disappears
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>