TeamSpeak3/Helper/Char.php
public static function fromHex($hex)
    {
        if (strlen($hex) != 2) {
            throw new Ts3Exception("given parameter '" . $hex . "' is not a valid hexadecimal number");
        }

        return new self(chr(hexdec($hex)));
    }
public static function fromHex($hex)
    {
        if (strlen($hex) != 2) {
            throw new Ts3Exception("given parameter '" . $hex . "' is not a valid hexadecimal number");
        }

        return new self(chr(hexdec($hex)));
    }
Returns the Char based on a given hex value.

@param  string $hex
@throws Ts3Exception
@return Char