original_string: private function releaseMultiHandle($handle, $maxHandles)
      {
          $id = (int) $handle;
  
          if (count($this->multiHandles) <= $maxHandles) {
              $this->multiOwned[$id] = false;
          } elseif (isset($this->multiHandles[$id], $this->multiOwned[$id])) {
              // Prune excessive handles
              curl_multi_close($this->multiHandles[$id]);
              unset($this->multiHandles[$id], $this->multiOwned[$id]);
          }
      }
code: private function releaseMultiHandle($handle, $maxHandles)
      {
          $id = (int) $handle;
  
          if (count($this->multiHandles) <= $maxHandles) {
              $this->multiOwned[$id] = false;
          } elseif (isset($this->multiHandles[$id], $this->multiOwned[$id])) {
              // Prune excessive handles
              curl_multi_close($this->multiHandles[$id]);
              unset($this->multiHandles[$id], $this->multiOwned[$id]);
          }
      }
code_tokens: private function releaseMultiHandle ( $ handle , $ maxHandles ) { $ id = ( int ) $ handle ; if ( count ( $ this -> multiHandles ) <= $ maxHandles ) { $ this -> multiOwned [ $ id ] = false ; } elseif ( isset ( $ this -> multiHandles [ $ id ] , $ this -> multiOwned [ $ id ] ) ) { // Prune excessive handles curl_multi_close ( $ this -> multiHandles [ $ id ] ) ; unset ( $ this -> multiHandles [ $ id ] , $ this -> multiOwned [ $ id ] ) ; } }
docstring: Releases a curl_multi handle back into the cache and removes excess cache
  
  @param resource $handle Curl multi handle to remove
  @param int $maxHandles (Optional) Maximum number of existing multiHandles to allow before pruning.
docstring_tokens: Releases a curl_multi handle back into the cache and removes excess cache