We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef38d22 commit 9d664cbCopy full SHA for 9d664cb
1 file changed
ext/curl/tests/curl_readfunction_throws_abort.phpt
@@ -16,7 +16,7 @@ $host = curl_cli_server_start();
16
$ch = curl_init("{$host}/get.inc");
17
18
$file = new CURLFile(__DIR__ . '/curl_testdata1.txt');
19
-curl_setopt($ch, CURLOPT_POST, ['file' => $file]);
+curl_setopt($ch, CURLOPT_POST, 1);
20
21
curl_setopt($ch, CURLOPT_READFUNCTION,
22
function (): int {
0 commit comments