original_string: public function setOption($option, $value)
      {
          switch ($option) {
              case FTPClient::TIMEOUT_SEC:
                  if ($value <= 0) {
                      throw new Exception('Timeout value must be greater than zero');
                  }
                  break;
  
              case FTPClient::AUTOSEEK:
                  if (!is_bool($value)) {
                      throw new Exception('Autoseek value must be boolean');
                  }
                  break;
              
              default:
                  throw new Exception('Unsupported option');
                  break;
          }
  
          return @ftp_set_option($this->connection, $option, $value);
      }
code: public function setOption($option, $value)
      {
          switch ($option) {
              case FTPClient::TIMEOUT_SEC:
                  if ($value <= 0) {
                      throw new Exception('Timeout value must be greater than zero');
                  }
                  break;
  
              case FTPClient::AUTOSEEK:
                  if (!is_bool($value)) {
                      throw new Exception('Autoseek value must be boolean');
                  }
                  break;
              
              default:
                  throw new Exception('Unsupported option');
                  break;
          }
  
          return @ftp_set_option($this->connection, $option, $value);
      }
code_tokens: public function setOption ( $ option , $ value ) { switch ( $ option ) { case FTPClient :: TIMEOUT_SEC : if ( $ value <= 0 ) { throw new Exception ( 'Timeout value must be greater than zero' ) ; } break ; case FTPClient :: AUTOSEEK : if ( ! is_bool ( $ value ) ) { throw new Exception ( 'Autoseek value must be boolean' ) ; } break ; default : throw new Exception ( 'Unsupported option' ) ; break ; } return @ ftp_set_option ( $ this -> connection , $ option , $ value ) ; }
docstring: Set miscellaneous runtime FTP options
  TIMEOUT_SEC | AUTOSEEK
  
  @param mixed $option
  @param mixed $value
  
  @return mixed
docstring_tokens: Set miscellaneous runtime FTP options TIMEOUT_SEC | AUTOSEEK