original_string: public function set($key, $value, $expire = 3600, $path = '/')
      {
          if ($expire == false) {
              setcookie($key, serialize($value), false, $path);
          } else {
              setcookie($key, serialize($value), time() + $expire, $path);
          }
      }
code: public function set($key, $value, $expire = 3600, $path = '/')
      {
          if ($expire == false) {
              setcookie($key, serialize($value), false, $path);
          } else {
              setcookie($key, serialize($value), time() + $expire, $path);
          }
      }
code_tokens: public function set ( $ key , $ value , $ expire = 3600 , $ path = '/' ) { if ( $ expire == false ) { setcookie ( $ key , serialize ( $ value ) , false , $ path ) ; } else { setcookie ( $ key , serialize ( $ value ) , time ( ) + $ expire , $ path ) ; } }
docstring: Adds to the session.
  
  @param string $key    - Key given to session
  @param string $value  - Value given to session's $key
  @param mixed  $expire - Sets expiration of cookie
  @param stirng $path   - The path the cookie should be set to
  
  @return mixed
docstring_tokens: Adds to the session .