Skip to content

curl_setopt page, the CURLOPT_XFERINFOFUNCTION constant #3448

Closed
@determin1st

Description

@determin1st

https://www.php.net/manual/en/function.curl-setopt
the CURLOPT_XFERINFOFUNCTION description says

A callback accepting two parameters. Has a similar purpose as CURLOPT_PROGRESSFUNCTION but is more modern and the preferred option from cURL.

in fact its the same callback argument list as in CURLOPT_PROGRESSFUNCTION with 5 parameters, not 2 parameters

Metadata

Metadata

Assignees

No one assigned

    Labels

    Extension: curlbugDocumentation contains incorrect information

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions