summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug21453.phpt
blob: 61547c48f36fb8fe995d75f5229cb4244ac24930 (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
"