original_string: public function serviceValidate($service, $ticket, $timeout = 10)
      {
          header('Content-Type: text/xml; charset=UTF-8');
          exit(self::file_get_contents($this->server['service_validate_url'] . '?' . http_build_query(array(
                  'service' => $this->my_service . '?' . http_build_query(array(
                          'service' => $service,
                      )),
                  'ticket' => $ticket,
              )), $timeout));
          // never reach
          return true;
      }
code: public function serviceValidate($service, $ticket, $timeout = 10)
      {
          header('Content-Type: text/xml; charset=UTF-8');
          exit(self::file_get_contents($this->server['service_validate_url'] . '?' . http_build_query(array(
                  'service' => $this->my_service . '?' . http_build_query(array(
                          'service' => $service,
                      )),
                  'ticket' => $ticket,
              )), $timeout));
          // never reach
          return true;
      }
code_tokens: public function serviceValidate ( $ service , $ ticket , $ timeout = 10 ) { header ( 'Content-Type: text/xml; charset=UTF-8' ) ; exit ( self :: file_get_contents ( $ this -> server [ 'service_validate_url' ] . '?' . http_build_query ( array ( 'service' => $ this -> my_service . '?' . http_build_query ( array ( 'service' => $ service , ) ) , 'ticket' => $ ticket , ) ) , $ timeout ) ) ; // never reach return true ; }
docstring: Pass service validate http response
  
  @param string $service proxied service
  @param string $ticket CAS ticket
  @param int $timeout
  
  @return bool always true, but never reach.
docstring_tokens: Pass service validate http response