On Mon, June 22, 2026 at 10:38 Bob Weinand wrote:

> Also, why would we deprecate CURLOPT_PROGRESSFUNCTION? According to 
> https://grep.app/search?f.lang=PHP&q=CURLOPT_PROGRESSFUNCTION it's quite 
> widely used in widely used libraries, like guzzle and symfony. And I wouldn't 
> know what it's replacement would be?

Per the PHP documentation for CURLOPT_PROGRESSFUNCTION [1]:

> deprecated as of cURL 7.32.0. Use CURLOPT_XFERINFOFUNCTION instead.

The cURL page for this option also states that it is deprecated since 7.32.0. 
[2]

It probably would be good to update the RFC to clarify this.

Sincerely,
Theodore

[1]: 
https://www.php.net/manual/en/curl.constants.php#constant.curlopt-progressfunction
[2]: https://curl.se/libcurl/c/CURLOPT_PROGRESSFUNCTION.html

Reply via email to