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 6 (mbstring / ISO-8859-15) --INI-- output_handler= internal_e..

Decoded Output download

--TEST--
htmlentities() test 6 (mbstring / ISO-8859-15)
--INI--
output_handler=
internal_encoding=ISO-8859-15
--EXTENSIONS--
mbstring
--FILE--
<?php
    mb_internal_encoding('ISO-8859-15');
    print mb_internal_encoding()."
";
    var_dump(htmlentities("", ENT_QUOTES, ''));
?>
--EXPECT--
ISO-8859-15
string(20) "&OElig;&oelig;&Yuml;"

Did this file decode correctly?

Original Code

--TEST--
htmlentities() test 6 (mbstring / ISO-8859-15)
--INI--
output_handler=
internal_encoding=ISO-8859-15
--EXTENSIONS--
mbstring
--FILE--
<?php
    mb_internal_encoding('ISO-8859-15');
    print mb_internal_encoding()."\n";
    var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
?>
--EXPECT--
ISO-8859-15
string(20) "&OElig;&oelig;&Yuml;"

Function Calls

mb_internal_encoding 1

Variables

None

Stats

MD5 361afd33e2baffcbbe3f7b583b32a7a6
Eval Count 0
Decode Time 73 ms