original_string: protected function createStream(BrowserKitRequest $request)
      {
          $stream = fopen('php://temp', 'a+');
          fwrite($stream, $request->getContent());
          
          return new Stream($stream);
      }
code: protected function createStream(BrowserKitRequest $request)
      {
          $stream = fopen('php://temp', 'a+');
          fwrite($stream, $request->getContent());
          
          return new Stream($stream);
      }
code_tokens: protected function createStream ( BrowserKitRequest $ request ) { $ stream = fopen ( 'php://temp' , 'a+' ) ; fwrite ( $ stream , $ request -> getContent ( ) ) ; return new Stream ( $ stream ) ; }
docstring: Create the output stream handle
  
  @param BrowserKitRequest $request
  @return Stream
docstring_tokens: Create the output stream handle