original_string: private function checkoutMultiHandle()
      {
          // Find an unused handle in the cache
          $key = array_search(false, $this->multiOwned, true);
          if (false !== $key) {
              $this->multiOwned[$key] = true;
              return $this->multiHandles[$key];
          }
  
          // Add a new handle
          $handle = curl_multi_init();
          $id = (int) $handle;
          $this->multiHandles[$id] = $handle;
          $this->multiOwned[$id] = true;
  
          return $handle;
      }
code: private function checkoutMultiHandle()
      {
          // Find an unused handle in the cache
          $key = array_search(false, $this->multiOwned, true);
          if (false !== $key) {
              $this->multiOwned[$key] = true;
              return $this->multiHandles[$key];
          }
  
          // Add a new handle
          $handle = curl_multi_init();
          $id = (int) $handle;
          $this->multiHandles[$id] = $handle;
          $this->multiOwned[$id] = true;
  
          return $handle;
      }
code_tokens: private function checkoutMultiHandle ( ) { // Find an unused handle in the cache $ key = array_search ( false , $ this -> multiOwned , true ) ; if ( false !== $ key ) { $ this -> multiOwned [ $ key ] = true ; return $ this -> multiHandles [ $ key ] ; } // Add a new handle $ handle = curl_multi_init ( ) ; $ id = ( int ) $ handle ; $ this -> multiHandles [ $ id ] = $ handle ; $ this -> multiOwned [ $ id ] = true ; return $ handle ; }
docstring: Returns a curl_multi handle from the cache or creates a new one
  
  @return resource
docstring_tokens: Returns a curl_multi handle from the cache or creates a new one