Decoded Output
Download--TEST--
Bug GH-7980 (Unexpected result for iconv_mime_decode)
--EXTENSIONS--
iconv
--FILE--
<?php
$subject = '=?windows-1258?Q?DSI_Charg=E9_de_Formation_Jean_Dupont?= <[email protected]>';
var_dump(iconv_mime_decode($subject, ICONV_MIME_DECODE_STRICT, 'UTF-8'));
?>
--EXPECT--
string(57) "DSI Charg de Formation Jean Dupont <[email protected]>"
Did this file decode correctly?
How would you describe this file?
Thank you for your feedback! This will help us detect malicious PHP files more accurately in the future.
Function Calls
None
Variables
| $subject | =?windows-1258?Q?DSI_Charg=E9_de_Formation_Jean_Dupont?= <jd.. |
|---|
Stats
| MD5 | 6233f1f37b63f875 |
|---|---|
| Eval Count | 0 |
| Decode Time | 98 ms |
Original Code
--TEST--
Bug GH-7980 (Unexpected result for iconv_mime_decode)
--EXTENSIONS--
iconv
--FILE--
<?php
$subject = '=?windows-1258?Q?DSI_Charg=E9_de_Formation_Jean_Dupont?= <[email protected]>';
var_dump(iconv_mime_decode($subject, ICONV_MIME_DECODE_STRICT, 'UTF-8'));
?>
--EXPECT--
string(57) "DSI Charg de Formation Jean Dupont <[email protected]>"