public static function containsUCS2Characters($string)
    {
        $GSMCharsetAsString = implode(array_keys(GSMCharset::$GSMCharset));

        foreach (self::mb_str_split($string) as $char) {
            if (mb_strpos($GSMCharsetAsString, $char) === false) {
                return true;
            }
        }

        return false;
    }
public static function containsUCS2Characters($string)
    {
        $GSMCharsetAsString = implode(array_keys(GSMCharset::$GSMCharset));

        foreach (self::mb_str_split($string) as $char) {
            if (mb_strpos($GSMCharsetAsString, $char) === false) {
                return true;
            }
        }

        return false;
    }
public static function containsUCS2Characters ( $ string ) { $ GSMCharsetAsString = implode ( array_keys ( GSMCharset :: $ GSMCharset ) ) ; foreach ( self :: mb_str_split ( $ string ) as $ char ) { if ( mb_strpos ( $ GSMCharsetAsString , $ char ) === false ) { return true ; } } return false ; }
Assert whether a given String contains UCS2 characters

@param string $string
@return bool true if $string contains UCS2 characters
@ignore
Assert whether a given String contains UCS2 characters