3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php mb_internal_encoding('UTF-8'); echo 'Subject: ', mb_encode_mimeheader('Avis d’expédition du temps des Fêtes de Panasonic Canada', 'UTF-8', 'B');
Output for 4.3.0 - 7.1.7
Subject: Avis =?UTF-8?B?ZOKAmWV4cMOpZGl0aW9uIGR1IHRlbXBzIGRlcyBGw6p0ZXMgZGUgUGFu?= =?UTF-8?B?YXNvbmljIENhbmFkYQ==?=