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