curl_getinfo

Supported Versions: PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
Get information regarding a specific transfer
<?php curl_getinfo(CurlHandle $handle, ?int $option = null): mixed
<?php             }

        }



        $progress = array_diff_key(curl_getinfo($curlHandle), self::$timeInfo);



        $this->jobs[(int) $curlHandle] = array(

            'url' => $url,
<?php                 continue;

            }



            $progress = curl_getinfo($curlHandle);

            $job = $this->jobs[$i];

            unset($this->jobs[$i]);

            $error = curl_error($curlHandle);
<?php                 continue;

            }

            $curlHandle = $this->jobs[$i]['curlHandle'];

            $progress = array_diff_key(curl_getinfo($curlHandle), self::$timeInfo);



            if ($this->jobs[$i]['progress'] !== $progress) {

                $this->jobs[$i]['progress'] = $progress;
<?php     public static function castCurl($h, array $a, Stub $stub, bool $isNested): array

    {

        return curl_getinfo($h);

    }



    public static function castDba($dba, array $a, Stub $stub, bool $isNested)