original_string: public function removeCookie($name, $path = '/', $domain = null)
      {
          if (null === $path) {
              $path = '/';
          }
  
          unset($this->cookies[$domain][$path][$name]);
  
          if (empty($this->cookies[$domain][$path])) {
              unset($this->cookies[$domain][$path]);
  
              if (empty($this->cookies[$domain])) {
                  unset($this->cookies[$domain]);
              }
          }
  
          if (empty($this->cookies)) {
              unset($this->headerNames['set-cookie']);
          }
      }
code: public function removeCookie($name, $path = '/', $domain = null)
      {
          if (null === $path) {
              $path = '/';
          }
  
          unset($this->cookies[$domain][$path][$name]);
  
          if (empty($this->cookies[$domain][$path])) {
              unset($this->cookies[$domain][$path]);
  
              if (empty($this->cookies[$domain])) {
                  unset($this->cookies[$domain]);
              }
          }
  
          if (empty($this->cookies)) {
              unset($this->headerNames['set-cookie']);
          }
      }
code_tokens: public function removeCookie ( $ name , $ path = '/' , $ domain = null ) { if ( null === $ path ) { $ path = '/' ; } unset ( $ this -> cookies [ $ domain ] [ $ path ] [ $ name ] ) ; if ( empty ( $ this -> cookies [ $ domain ] [ $ path ] ) ) { unset ( $ this -> cookies [ $ domain ] [ $ path ] ) ; if ( empty ( $ this -> cookies [ $ domain ] ) ) { unset ( $ this -> cookies [ $ domain ] ) ; } } if ( empty ( $ this -> cookies ) ) { unset ( $ this -> headerNames [ 'set-cookie' ] ) ; } }
docstring: Removes a cookie from the array, but does not unset it in the browser.
  
  @param string $name
  @param string $path
  @param string $domain
docstring_tokens: Removes a cookie from the array but does not unset it in the browser .