--TEST-- mb_preferred_mime_name() --SKIPIF-- --FILE-- getMessage() . \PHP_EOL; } ?> --EXPECT-- Shift_JIS Shift_JIS EUC-JP UTF-8 ISO-2022-JP ISO-2022-JP ISO-8859-1 UCS-2 UCS-4 == INVALID PARAMETER == mb_preferred_mime_name(): Argument #1 ($encoding) must be a valid encoding, "BAD_NAME" given