public function hashCode()
    {
        $h = crc32(serialize($this->value)) ^ crc32($this->comparison);

        if ($this->table !== null) {
            $h ^= crc32($this->table);
        }

        if ($this->column !== null) {
            $h ^= crc32($this->column);
        }

        foreach ($this->clauses as $clause) {
            // TODO: I KNOW there is a php incompatibility with the following line
            // but I don't remember what it is, someone care to look it up and
            // replace it if it doesn't bother us?
            // $clause->appendPsTo($sb='',$params=array());
            $sb = '';
            $params = array();
            $clause->appendPsTo($sb, $params);
            $h ^= crc32(serialize(array($sb, $params)));
            unset ($sb, $params);
        }

        return $h;
    }
public function hashCode()
    {
        $h = crc32(serialize($this->value)) ^ crc32($this->comparison);

        if ($this->table !== null) {
            $h ^= crc32($this->table);
        }

        if ($this->column !== null) {
            $h ^= crc32($this->column);
        }

        foreach ($this->clauses as $clause) {
            // TODO: I KNOW there is a php incompatibility with the following line
            // but I don't remember what it is, someone care to look it up and
            // replace it if it doesn't bother us?
            // $clause->appendPsTo($sb='',$params=array());
            $sb = '';
            $params = array();
            $clause->appendPsTo($sb, $params);
            $h ^= crc32(serialize(array($sb, $params)));
            unset ($sb, $params);
        }

        return $h;
    }
public function hashCode ( ) { $ h = crc32 ( serialize ( $ this -> value ) ) ^ crc32 ( $ this -> comparison ) ; if ( $ this -> table !== null ) { $ h ^= crc32 ( $ this -> table ) ; } if ( $ this -> column !== null ) { $ h ^= crc32 ( $ this -> column ) ; } foreach ( $ this -> clauses as $ clause ) { // TODO: I KNOW there is a php incompatibility with the following line // but I don't remember what it is, someone care to look it up and // replace it if it doesn't bother us? // $clause->appendPsTo($sb='',$params=array()); $ sb = '' ; $ params = array ( ) ; $ clause -> appendPsTo ( $ sb , $ params ) ; $ h ^= crc32 ( serialize ( array ( $ sb , $ params ) ) ) ; unset ( $ sb , $ params ) ; } return $ h ; }
Returns a hash code value for the object.
Returns a hash code value for the object .