src/Kisma/Core/Utility/Scalar.php
public static function strlen( $string )
    {
        if ( false === ( $_encoding = static::mbSupported( $string ) ) )
        {
            return strlen( $string );
        }

        return mb_strwidth( $string, $_encoding );
    }
public static function strlen( $string )
    {
        if ( false === ( $_encoding = static::mbSupported( $string ) ) )
        {
            return strlen( $string );
        }

        return mb_strwidth( $string, $_encoding );
    }
public static function strlen ( $ string ) { if ( false === ( $ _encoding = static :: mbSupported ( $ string ) ) ) { return strlen ( $ string ) ; } return mb_strwidth ( $ string , $ _encoding ) ; }
Multibyte-aware strlen
Originally swiped from Symfony2 Console Application class private functions. Modified for Kisma use.

@param string $string

@return int
Multibyte - aware strlen Originally swiped from Symfony2 Console Application class private functions . Modified for Kisma use .