Skip to content

Commit 8e69771

Browse files
authored
curlopt add new constant CURLOPT_XFERINFOFUNCTION (#1540)
1 parent 3e1282f commit 8e69771

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

reference/curl/functions/curl-setopt.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2225,6 +2225,17 @@
22252225
or the transfer will be aborted with an error.
22262226
</entry>
22272227
</row>
2228+
<row>
2229+
<entry valign="top"><constant>CURLOPT_XFERINFOFUNCTION</constant></entry>
2230+
<entry valign="top">
2231+
A callback accepting two parameters.
2232+
Has a similar purpose as <constant>CURLOPT_PROGRESSFUNCTION</constant> but is more modern
2233+
and the preferred option from cURL.
2234+
</entry>
2235+
<entry valign="top">
2236+
Added in 7.32.0. Available as of PHP 8.2.0.
2237+
</entry>
2238+
</row>
22282239
</tbody>
22292240
</tgroup>
22302241
</informaltable>

0 commit comments

Comments
 (0)