3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php mb_internal_encoding('UTF-8'); echo 'Subject: ', mb_encode_mimeheader('“”‘’♥ Testing special characters, yo', 'UTF-8', 'B');
based on V52Mr
Output for 4.3.0 - 7.2.0
Subject: =?UTF-8?B?4oCc4oCd4oCY4oCZ4pmlIFRlc3Rpbmcgc3BlY2lhbCBjaGFyYWN0ZXJzLCB5?= =?UTF-8?B?bw==?=