$sender_name_en.'<'.$to.'>', 'X-Mailer' => 'sendmail_utf8_on_php', 'MIME-Version' => '1.0', 'Content-Transfer-Encoding' => 'base64', 'Content-Type' => 'text/plain; charset=UTF-8' )); }; $undefined_array_key_to_error = function($errno, $errstr, $errfile, $errline) { if (strpos($errstr, 'Undefined array key') !== false) { throw new \ErrorException($errstr, $errno, 0, $errfile, $errline); } return false; }; function encode_for_url($k) { global $config; $co = mb_convert_encoding($k, $config['remote_coding']); return urlencode($co); }; function decode_from_remote($k) { global $config; return mb_convert_encoding($k, 'UTF-8', $config['remote_coding']); }; function futaba_pick_json($html) { $json = $html; $part = '