Method | Description | |
---|---|---|
testCrc ( ) | Test the crc generator. | |
testCut ( ) | Tests string trimming. | |
testCutWords ( ) | Tests word trimming. | |
testEscape ( ) | Tests special HTML characters escaping. | |
testFixLineEnding ( ) | Tests line ending conversions. | |
testFormatBytes ( ) | Tests byte size conversion. | |
testLcfirst ( ) | Tests first letter lowercase. | |
testObfuscateEmail ( ) | Tests email address obfuscation. | |
testRandom ( ) | Tests the random string generator. |
Method | Description | |
---|---|---|
checkStringCut ( string $string, integer $max = 16, string $etc = '...' ) : string | Checks one string. | |
checkStringWordCut ( string $string, integer $max = 8, string $etc = '...' ) : string | Checks one string. |