3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $headers = 'From: "xyz" <xyz@xyz.com> To: <xyz@xyz.com> Subject: Reply Is? white side-LED =? in Help Date: Sat, 22 Dec 2012 Message-ID: <006f01cde00e$d9f79da0$8de6d8e0> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0070_01CDE03C.F3AFD9A0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac3gDtcH2huHjzYcQVmFJPPoWjJogA== Content-Language: en-us '; $headers = iconv_mime_decode_headers($headers, ICONV_MIME_DECODE_CONTINUE_ON_ERROR); print_r($headers); ?>
Output for 5.3.17 - 5.5.34, 5.6.7 - 5.6.20, 7.0.0 - 7.0.5, 7.0.20 - 7.2.0
Array ( [From] => "xyz" <xyz@xyz.com> [To] => <xyz@xyz.com> [Subject] => Reply Is? white side-LED )
Output for 7.0.6
Fatal error: Uncaught Error: Call to undefined function iconv_mime_decode_headers() in /in/9Yb90:15 Stack trace: #0 {main} thrown in /in/9Yb90 on line 15
Process exited with code 255.
Output for 5.5.35, 5.6.21
Fatal error: Call to undefined function iconv_mime_decode_headers() in /in/9Yb90 on line 15
Process exited with code 255.