original_string: public function setRawCookie($key, $value, $expires = null, $domain = '-', $path = '/')
      {
          $domain = strtolower($domain);
          if (substr($domain, 0, 1) === '.') {
              $domain = substr($domain, 1);
          }
          if (!isset($this->_cookies[$domain])) {
              $this->_cookies[$domain] = [];
          }
          if (!isset($this->_cookies[$domain][$path])) {
              $this->_cookies[$domain][$path] = [];
          }
          $list = &$this->_cookies[$domain][$path];
          if ($value === null || $value === '' || ($expires !== null && $expires < time())) {
              unset($list[$key]);
          } else {
              $list[$key] = ['value' => $value, 'expires' => $expires];
          }
      }
code: public function setRawCookie($key, $value, $expires = null, $domain = '-', $path = '/')
      {
          $domain = strtolower($domain);
          if (substr($domain, 0, 1) === '.') {
              $domain = substr($domain, 1);
          }
          if (!isset($this->_cookies[$domain])) {
              $this->_cookies[$domain] = [];
          }
          if (!isset($this->_cookies[$domain][$path])) {
              $this->_cookies[$domain][$path] = [];
          }
          $list = &$this->_cookies[$domain][$path];
          if ($value === null || $value === '' || ($expires !== null && $expires < time())) {
              unset($list[$key]);
          } else {
              $list[$key] = ['value' => $value, 'expires' => $expires];
          }
      }
code_tokens: public function setRawCookie ( $ key , $ value , $ expires = null , $ domain = '-' , $ path = '/' ) { $ domain = strtolower ( $ domain ) ; if ( substr ( $ domain , 0 , 1 ) === '.' ) { $ domain = substr ( $ domain , 1 ) ; } if ( ! isset ( $ this -> _cookies [ $ domain ] ) ) { $ this -> _cookies [ $ domain ] = [ ] ; } if ( ! isset ( $ this -> _cookies [ $ domain ] [ $ path ] ) ) { $ this -> _cookies [ $ domain ] [ $ path ] = [ ] ; } $ list = & $ this -> _cookies [ $ domain ] [ $ path ] ; if ( $ value === null || $ value === '' || ( $ expires !== null && $ expires < time ( ) ) ) { unset ( $ list [ $ key ] ) ; } else { $ list [ $ key ] = [ 'value' => $ value , 'expires' => $ expires ] ; } }
docstring: Set a raw cookie
  @param string $key cookie name
  @param string $value cookie value
  @param integer $expires cookie will be expired after this timestamp.
  @param string $domain cookie domain
  @param string $path cookie path
docstring_tokens: Set a raw cookie