1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 09:42:22 +01:00
Files
archived-php-src/ext/standard/tests/strings/bug21453.phpt
Kalle Sommer Nielsen d9d74d37ac Fix test on Windows
2015-03-26 03:29:18 +01:00

19 lines
347 B
PHP

--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
"