function _rule_checkbit($str, $bit) {
        if (!isset($this->_rd[$str])) return false;
        $bit2 = $this->_rd[$str]['bit'];
        return ($bit & $bit2 ? true : false);
    }
function _rule_checkbit($str, $bit) {
        if (!isset($this->_rd[$str])) return false;
        $bit2 = $this->_rd[$str]['bit'];
        return ($bit & $bit2 ? true : false);
    }
function _rule_checkbit ( $ str , $ bit ) { if ( ! isset ( $ this -> _rd [ $ str ] ) ) return false ; $ bit2 = $ this -> _rd [ $ str ] [ 'bit' ] ; return ( $ bit & $ bit2 ? true : false ) ; }
check the bit with str
check the bit with str