--TEST-- Test mb_substr() function : error conditions - Pass an unknown encoding --EXTENSIONS-- mbstring --FILE-- getMessage() . \PHP_EOL; } ?> --EXPECT-- *** Testing mb_substr() : error conditions *** mb_substr(): Argument #4 ($encoding) must be a valid encoding, "unknown-encoding" given