public static function getOpt($key, $default = null)
    {
        if (array_key_exists($key, self::$current)) {
            return self::$current[$key];
        }
        if (array_key_exists($key, self::$opts)) {
            return self::$opts[$key];
        }
        return $default;
    }
public static function getOpt($key, $default = null)
    {
        if (array_key_exists($key, self::$current)) {
            return self::$current[$key];
        }
        if (array_key_exists($key, self::$opts)) {
            return self::$opts[$key];
        }
        return $default;
    }
public static function getOpt ( $ key , $ default = null ) { if ( array_key_exists ( $ key , self :: $ current ) ) { return self :: $ current [ $ key ] ; } if ( array_key_exists ( $ key , self :: $ opts ) ) { return self :: $ opts [ $ key ] ; } return $ default ; }
Returns a compatibility option by its key

@param string $key
@param mixed $default [optional]
@return mixed
Returns a compatibility option by its key