<?php
$preferences = array(
'scheme' => 'Q',
'input-charset' => 'utf-8',
'output-charset' => 'utf-8',
'line-length' => 74,
'line-break-chars' => "\r\n",
);
// Note the ellipsis character at the end of the following string:
var_dump(iconv_mime_encode('subject', "d obeybiubrsfqllpdtpge…", $preferences));
Fatal error: Uncaught Error: Call to undefined function iconv_mime_encode() in /in/JLman:10
Stack trace:
#0 {main}
thrown in /in/JLman on line 10
Process exited with code 255.