original_string: protected function open($filename, $flags)
      {
          if (is_file($filename) === false || ($this->file = fopen($filename, $flags)) === false) {
              throw new Exception('Unable to open the target file.');
          }
      }
code: protected function open($filename, $flags)
      {
          if (is_file($filename) === false || ($this->file = fopen($filename, $flags)) === false) {
              throw new Exception('Unable to open the target file.');
          }
      }
code_tokens: protected function open ( $ filename , $ flags ) { if ( is_file ( $ filename ) === false || ( $ this -> file = fopen ( $ filename , $ flags ) ) === false ) { throw new Exception ( 'Unable to open the target file.' ) ; } }
docstring: Opens a file for writing.
  
  @param  string $filename The filename
  @param  string $flags    Flags
  @throws Exception
docstring_tokens: Opens a file for writing .