src/BitSet.php
public function logicalOr(self $other){
		
		$l = \max(array($this->count(), $other->count()));
		$new = new static();
		
		for($i = 0; $i < $l; ++$i){
			
			if(isset($this[$i]) && $other[$i]){
				$new[$i] = true;
			}
			else if(isset($other[$i]) && $other[$i]){
				$new[$i] = true;
			}
			else{
				$new[$i] = false;
			}
			
		}
		
		return $new;
		
	}
public function logicalOr(self $other){
		
		$l = \max(array($this->count(), $other->count()));
		$new = new static();
		
		for($i = 0; $i < $l; ++$i){
			
			if(isset($this[$i]) && $other[$i]){
				$new[$i] = true;
			}
			else if(isset($other[$i]) && $other[$i]){
				$new[$i] = true;
			}
			else{
				$new[$i] = false;
			}
			
		}
		
		return $new;
		
	}
public function logicalOr ( self $ other ) { $ l = \ max ( array ( $ this -> count ( ) , $ other -> count ( ) ) ) ; $ new = new static ( ) ; for ( $ i = 0 ; $ i < $ l ; ++ $ i ) { if ( isset ( $ this [ $ i ] ) && $ other [ $ i ] ) { $ new [ $ i ] = true ; } else if ( isset ( $ other [ $ i ] ) && $ other [ $ i ] ) { $ new [ $ i ] = true ; } else { $ new [ $ i ] = false ; } } return $ new ; }
Returns a new BitSet after ORing this set with another
@param self $other
@return \static
Returns a new BitSet after ORing this set with another