1--TEST--
2Test mb_decode_mimeheader() function : variation
3--EXTENSIONS--
4mbstring
5--FILE--
6<?php
7echo "*** Testing mb_decode_mimeheader() : variation ***\n";
8mb_internal_encoding('iso-8859-7');
9
10//greek in UTF-8 to be converted to iso-8859-7
11$encoded_word = "=?UTF-8?B?zrHOss6zzrTOtc62zrfOuM65zrrOu868zr3Ovs6/z4DPgc+Dz4TPhc+Gz4fPiM+J?=";
12var_dump(bin2hex(mb_decode_mimeheader($encoded_word)));
13
14
15?>
16--EXPECT--
17*** Testing mb_decode_mimeheader() : variation ***
18string(48) "e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f3f4f5f6f7f8f9"
19