summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug21453.phpt
blob: cf563dfaf3153bad82903ed1eff6e7794a99ef30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
Bug #21453 (handling of non-encoded <)
--FILE--
<?php
$test = "
<table>
    <tr><td>first cell before < first cell after</td></tr>
    <tr><td>second cell before < second cell after</td></tr>
</table>";

var_dump(strip_tags($test));
?>
--EXPECTF--
string(8%d) "

    first cell before < first cell after
    second cell before < second cell after
"