helpers\BaseStringHelper byteLength()

byteLength() public static method

Returns the number of bytes in the given string.

This method ensures the string is treated as a byte array by using mb_strlen().

public static integer byteLength ( $string )
$string string

The string being measured for length

return integer

The number of bytes in the given string.

doc_Yii
2016-10-30 17:05:29
Comments
Leave a Comment

Please login to continue.