original_string: public function detach()
      {
          $this->_offset = $this->_current = 0;
          $this->_seekable = true;
  
          foreach ($this->_streams as $stream) {
              $stream->detach();
          }
  
          $this->_streams = [];
      }
code: public function detach()
      {
          $this->_offset = $this->_current = 0;
          $this->_seekable = true;
  
          foreach ($this->_streams as $stream) {
              $stream->detach();
          }
  
          $this->_streams = [];
      }
code_tokens: public function detach ( ) { $ this -> _offset = $ this -> _current = 0 ; $ this -> _seekable = true ; foreach ( $ this -> _streams as $ stream ) { $ stream -> detach ( ) ; } $ this -> _streams = [ ] ; }
docstring: Detaches each attached stream.
  
  Returns null as it's not clear which underlying stream resource to return.
docstring_tokens: Detaches each attached stream .