3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php mb_internal_encoding('UTF-8'); echo 'Subject: ', mb_encode_mimeheader('&amp;', 'UTF-8', 'B');
based on 8NPhj
Output for 4.3.0 - 7.2.0
Subject: &amp;