3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php mb_internal_encoding('ISO-8859-1'); echo 'Subject: ', mb_decode_mimeheader('=?ISO-8859-1?B?0JTQvtCx0LDQstC70LXQvSDQvdC+0LLRi9C5INC60L4=?= =?ISO-8859-1?B?0LzQvNC10L3RgtCw0YDQuNC5INC6INCy0L7Qv9GA0L7RgdGDINA=?= =?ISO-8859-1?B?vdCwIENyZWRpdENhcmRzT25saW5lLnJ1?='); $name = 'Новый вопрос на сайте ff.ru'; $addr = mb_encode_mimeheader($name, "ISO-8859-1", "B"); echo $addr;
based on IlIpt
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Subject: Добавлен новый комментарий к вопросу на CreditCardsOnline.ru=?ISO-8859-1?B?0J3QvtCy0YvQuSDQstC+0L/RgNC+0YEg0L3QsCDRgdCw0LnRgtC1IGZm?= =?ISO-8859-1?B?LnJ1?=