original_string: public function matchesDriveOrNull($drive)
      {
          return null === $drive ||
              !$this->hasDrive() ||
              $this->driveSpecifiersMatch($this->drive(), $drive);
      }
code: public function matchesDriveOrNull($drive)
      {
          return null === $drive ||
              !$this->hasDrive() ||
              $this->driveSpecifiersMatch($this->drive(), $drive);
      }
code_tokens: public function matchesDriveOrNull ( $ drive ) { return null === $ drive || ! $ this -> hasDrive ( ) || $ this -> driveSpecifiersMatch ( $ this -> drive ( ) , $ drive ) ; }
docstring: Returns true if this path's drive specifier matches the supplied drive
  specifier, or if either drive specifier is null.
  
  This method is not case sensitive.
  
  @param string|null $drive The driver specifier to compare to.
  
  @return boolean True if the drive specifiers match, or either drive specifier is null.
docstring_tokens: Returns true if this path s drive specifier matches the supplied drive specifier or if either drive specifier is null .