php-src/ext/standard/tests/strings/bug21453.phpt

25 lines
452 B
Plaintext
Raw Normal View History

--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));
?>
--EXPECT--
string(80) "
first cell before < first cell after
second cell before < second cell after
"
2005-10-04 07:59:14 +00:00
--UEXPECT--
unicode(80) "
first cell before < first cell after
second cell before < second cell after
"