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-- htmlentities() test 1 (cp1252) --INI-- output_handler= --FILE-- <?php var_dump(ht..
Decoded Output download
--TEST--
htmlentities() test 1 (cp1252)
--INI--
output_handler=
--FILE--
<?php
var_dump(htmlentities("", ENT_QUOTES, 'cp1252'));
var_dump(htmlentities("", ENT_QUOTES, 'cp1252'));
?>
--EXPECT--
string(28) "‚†™Ÿ"
string(32) "€¢£¤¥"
Did this file decode correctly?
Original Code
--TEST--
htmlentities() test 1 (cp1252)
--INI--
output_handler=
--FILE--
<?php
var_dump(htmlentities("\x82\x86\x99\x9f", ENT_QUOTES, 'cp1252'));
var_dump(htmlentities("\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, 'cp1252'));
?>
--EXPECT--
string(28) "‚†™Ÿ"
string(32) "€¢£¤¥"
Function Calls
htmlentities | 1 |
Stats
MD5 | 0b774ce6469fe56ea14de7656403b714 |
Eval Count | 0 |
Decode Time | 99 ms |