mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
8b36be268d
In preparation for GH-5074
19 lines
358 B
PHP
19 lines
358 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
|
|
"
|