3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php mb_internal_encoding('UTF-8'); echo 'Subject: ', mb_encode_mimeheader('❤', 'ascii', 'D');
Output for 4.3.0 - 4.3.11, 4.4.2 - 5.0.4, 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Subject: =?US-ASCII?B?Pw==?=
Output for 4.4.0 - 4.4.1, 5.0.5
Subject: d