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 11 (default_charset / ISO-8859-15) --INI-- output_handler= de..
Decoded Output download
--TEST--
htmlentities() test 11 (default_charset / ISO-8859-15)
--INI--
output_handler=
default_charset=ISO-8859-15
--FILE--
<?php
print ini_get('default_charset')."
";
var_dump(htmlentities("", ENT_QUOTES, ''));
?>
--EXPECT--
ISO-8859-15
string(20) "ŒœŸ"
Did this file decode correctly?
Original Code
--TEST--
htmlentities() test 11 (default_charset / ISO-8859-15)
--INI--
output_handler=
default_charset=ISO-8859-15
--FILE--
<?php
print ini_get('default_charset')."\n";
var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
?>
--EXPECT--
ISO-8859-15
string(20) "ŒœŸ"
Function Calls
ini_get | 1 |
Stats
MD5 | 90373497ece7cbe73f2b7b74a20d3cb7 |
Eval Count | 0 |
Decode Time | 89 ms |