protected function byteLength($string): int
    {
        if (self::$isMbStringOverload) {
            return mb_strlen($string, '8bit');
        }

        return strlen((binary) $string);
    }
protected function byteLength($string): int
    {
        if (self::$isMbStringOverload) {
            return mb_strlen($string, '8bit');
        }

        return strlen((binary) $string);
    }
protected function byteLength ( $ string ) : int { if ( self :: $ isMbStringOverload ) { return mb_strlen ( $ string , '8bit' ) ; } return strlen ( ( binary ) $ string ) ; }
Gets the length of a string in bytes even if mbstring function
overloading is turned on

@param string $string the string for which to get the length.
@return integer the length of the string in bytes.
Gets the length of a string in bytes even if mbstring function overloading is turned on