function _rule_check($rule, $str) {
        if (($rule['flag'] & PSCWS4_ZRULE_INCLUDE) && !$this->_rule_checkbit($str, $rule['bit']))
            return false;
        if (($rule['flag'] & PSCWS4_ZRULE_EXCLUDE) && $this->_rule_checkbit($str, $rule['bit']))
            return false;
        return true;
    }
function _rule_check($rule, $str) {
        if (($rule['flag'] & PSCWS4_ZRULE_INCLUDE) && !$this->_rule_checkbit($str, $rule['bit']))
            return false;
        if (($rule['flag'] & PSCWS4_ZRULE_EXCLUDE) && $this->_rule_checkbit($str, $rule['bit']))
            return false;
        return true;
    }
function _rule_check ( $ rule , $ str ) { if ( ( $ rule [ 'flag' ] & PSCWS4_ZRULE_INCLUDE ) && ! $ this -> _rule_checkbit ( $ str , $ rule [ 'bit' ] ) ) return false ; if ( ( $ rule [ 'flag' ] & PSCWS4_ZRULE_EXCLUDE ) && $ this -> _rule_checkbit ( $ str , $ rule [ 'bit' ] ) ) return false ; return true ; }
check the rule include | exclude
check the rule include | exclude