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 12 (default_charset / ISO-8859-1) --INI-- output_handler= def..
Decoded Output download
--TEST--
htmlentities() test 12 (default_charset / ISO-8859-1)
--INI--
output_handler=
default_charset=ISO-8859-1
--FILE--
<?php
print ini_get('default_charset')."
";
var_dump(htmlentities("", ENT_QUOTES, ''));
?>
--EXPECT--
ISO-8859-1
string(18) "äöü"
Did this file decode correctly?
Original Code
--TEST--
htmlentities() test 12 (default_charset / ISO-8859-1)
--INI--
output_handler=
default_charset=ISO-8859-1
--FILE--
<?php
print ini_get('default_charset')."\n";
var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
?>
--EXPECT--
ISO-8859-1
string(18) "äöü"
Function Calls
ini_get | 1 |
Stats
MD5 | d56c8a1def48b75830f127866c779dcd |
Eval Count | 0 |
Decode Time | 86 ms |