public static function isUpper($string, $charset)
    {
        return ((self::upper($string, true, $charset) === $string) &&
                self::isAlpha($string, $charset));
    }
public static function isUpper($string, $charset)
    {
        return ((self::upper($string, true, $charset) === $string) &&
                self::isAlpha($string, $charset));
    }
public static function isUpper ( $ string , $ charset ) { return ( ( self :: upper ( $ string , true , $ charset ) === $ string ) && self :: isAlpha ( $ string , $ charset ) ) ; }
Returns true if every character in the parameter is an uppercase letter
in the current locale.

@param string $string   The string to test.
@param string $charset  The charset to use when testing the string.

@return boolean  True if the parameter was uppercase.
Returns true if every character in the parameter is an uppercase letter in the current locale .