3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $preferences = array( "input-charset" => "ISO-8859-1", "output-charset" => "UTF-8", "line-length" => 76, "line-break-chars" => "\n" ); $preferences["scheme"] = "Q"; // This yields "Subject: =?UTF-8?Q?Pr=C3=BCfung=20Pr=C3=BCfung?=" echo iconv_mime_encode("Subject", "Prüfung Prüfung", $preferences);
Output for 5.2.14 - 5.2.17, 5.3.3 - 5.5.34, 5.6.0 - 5.6.20, 5.6.28, hhvm-3.12.0, 7.0.0 - 7.0.5, 7.0.12 - 7.1.0
Subject: =?UTF-8?Q?Pr=C3=83=C2=BCfung=20Pr=C3=83=C2=BCf?==?UTF-8?Q?un?= =?UTF-8?Q?g?=
Output for 7.0.6
Fatal error: Uncaught Error: Call to undefined function iconv_mime_encode() in /in/URG0A:11 Stack trace: #0 {main} thrown in /in/URG0A on line 11
Process exited with code 255.
Output for 5.0.0 - 5.2.13, 5.3.0 - 5.3.2, hhvm-3.10.0
Subject: =?UTF-8?Q?Pr=C3=83=C2=BCfung=20Pr=C3=83=C2=BCfung?=
Output for 5.5.35, 5.6.21
Fatal error: Call to undefined function iconv_mime_encode() in /in/URG0A on line 11
Process exited with code 255.
Output for 4.4.5 - 4.4.9
<br /> <b>Fatal error</b>: Call to undefined function: iconv_mime_encode() in <b>/in/URG0A</b> on line <b>11</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<br /> <b>Fatal error</b>: Call to undefined function: iconv_mime_encode() in <b>/in/URG0A</b> on line <b>11</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Call to undefined function: iconv_mime_encode() in <b>/in/URG0A</b> on line <b>11</b><br />