Open henri9813 opened 2 years ago
"total_time_us" is CURLINFO_TOTAL_TIME_T and requires cURL 7.61 or later. https://curl.se/libcurl/c/CURLINFO_TOTAL_TIME_T.html
The curl_getinfo page could benefit from a table like curl_setopt.
Oh okay,
May this should be define in the php documentation https://www.php.net/manual/en/function.curl-getinfo.php ?
The only solution is to upgrade curl to 7.61 ?
Best regards
May this should be define in the php documentation https://www.php.net/manual/en/function.curl-getinfo.php ?
Yes.
The only solution is to upgrade curl to 7.61 ?
If you need total_time_us then yes. Note that curl 7.29 is almost 9 years old and 7.61 is more than 3 years old.
Yes of course, but this updates is not included witht CentOS 7.
Thanks,
Description
The following code works on:
Resulted in this output:
On another machine which has:
i got:
Why ?
On the php.net documentation ,there is nothing about this
total_time_us
key.PHP Version
PHP 8.0.14
Operating System
Centos 7