You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ext/curl/tests/curl_setopt_callables.phpt
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -25,13 +25,10 @@ $url = "{$host}/get.inc";
25
25
$ch = curl_init($url);
26
26
testOption($ch, CURLOPT_PROGRESSFUNCTION);
27
27
testOption($ch, CURLOPT_SSH_HOSTKEYFUNCTION);
28
-
testOption($ch, CURLOPT_XFERINFOFUNCTION);
29
28
30
29
?>
31
30
--EXPECT--
32
31
TypeError: curl_setopt(): Argument #3 ($value) must be a valid callback for option CURLOPT_PROGRESSFUNCTION, function "undefined" not found or invalid function name
33
32
TypeError: curl_setopt_array(): Argument #2 ($options) must be a valid callback for option CURLOPT_PROGRESSFUNCTION, function "undefined" not found or invalid function name
34
33
TypeError: curl_setopt(): Argument #3 ($value) must be a valid callback for option CURLOPT_SSH_HOSTKEYFUNCTION, function "undefined" not found or invalid function name
35
34
TypeError: curl_setopt_array(): Argument #2 ($options) must be a valid callback for option CURLOPT_SSH_HOSTKEYFUNCTION, function "undefined" not found or invalid function name
36
-
TypeError: curl_setopt(): Argument #3 ($value) must be a valid callback for option CURLOPT_XFERINFOFUNCTION, function "undefined" not found or invalid function name
37
-
TypeError: curl_setopt_array(): Argument #2 ($options) must be a valid callback for option CURLOPT_XFERINFOFUNCTION, function "undefined" not found or invalid function name
0 commit comments