Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- Bug #21453 (handling of non-encoded <) --FILE-- <?php $test = " <table> <tr><..
Decoded Output download
--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
"
Did this file decode correctly?
Original Code
--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
"
Function Calls
strip_tags | 1 |
Stats
MD5 | 6360a9bae178053af9db980571b565d2 |
Eval Count | 0 |
Decode Time | 96 ms |