3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php mb_internal_encoding('UTF-8'); echo 'Subject: ', mb_encode_mimeheader('😢', 'UTF-8', 'B');
Output for 4.3.0 - 4.3.11, 4.4.2 - 5.0.4, 5.1.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.1.7
Subject: =?UTF-8?B?8J+Yog==?=
Output for 4.4.0 - 4.4.1, 5.0.5
Subject: "