- \PHPUnit_Util_String
class (none) \ PHPUnit_Util_String
String helpers.
Method Summary
Name | Description |
---|---|
convertToUtf8($string) | Converts a string to UTF-8 encoding. |
isUtf8($string) | Checks a string for UTF-8 encoding. |
public static function convertToUtf8($string)
Converts a string to UTF-8 encoding.
- Parameters:
string
- $string- Returns:
- string
protected static function isUtf8($string)
Checks a string for UTF-8 encoding.
- Parameters:
string
- $string- Returns:
- boolean