idna_convert::byteLength
Gets the length of a string in bytes even if mbstring function overloading is turned on
Signature
protected function byteLength(string
$stringĀ )
Parameters
-
$string
- the string for which to get the length.
Returns
- integer
- the length of the string in bytes.