3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php mb_internal_encoding('UTF-8'); echo 'Subject: ', mb_encode_mimeheader('Bienvenue au Programme d’achats pour employés de Panasonic!', 'UTF-8', 'B');
Output for 4.3.0 - 7.1.0
Subject: Bienvenue au Programme =?UTF-8?B?ZOKAmWFjaGF0cyBwb3VyIGVtcGxvecOpcyBkZSBQ?= =?UTF-8?B?YW5hc29uaWMh?=