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-- mb_output_handler() and mbstring.http_output_conv_mimetypes (4) --EXTENSIONS-- mb..

Decoded Output download

--TEST--
mb_output_handler() and mbstring.http_output_conv_mimetypes (4)
--EXTENSIONS--
mbstring
--FILE--
<?php
mb_http_output("EUC-JP");
header("Content-Type: application/octet-stream");
ob_start();
ob_start('mb_output_handler');
echo "";
ob_end_flush();
var_dump(bin2hex(ob_get_clean()));
?>
--EXPECT--
string(18) "e38386e382b9e38388"

Did this file decode correctly?

Original Code

--TEST--
mb_output_handler() and mbstring.http_output_conv_mimetypes (4)
--EXTENSIONS--
mbstring
--FILE--
<?php
mb_http_output("EUC-JP");
header("Content-Type: application/octet-stream");
ob_start();
ob_start('mb_output_handler');
echo "";
ob_end_flush();
var_dump(bin2hex(ob_get_clean()));
?>
--EXPECT--
string(18) "e38386e382b9e38388"

Function Calls

mb_http_output 1

Variables

None

Stats

MD5 85f58d80d8b487c65ea2af69a51e4328
Eval Count 0
Decode Time 100 ms