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 703d0ac commit 648ac2cCopy full SHA for 648ac2c
src/Curl/Curl.php
@@ -351,8 +351,8 @@ public function exec($ch = null)
351
// Transfer the header callback data and release the temporary store to avoid memory leak.
352
$this->rawResponseHeaders = $this->headerCallbackData->rawResponseHeaders;
353
$this->responseCookies = $this->headerCallbackData->responseCookies;
354
- $this->headerCallbackData->rawResponseHeaders = null;
355
- $this->headerCallbackData->responseCookies = null;
+ $this->headerCallbackData->rawResponseHeaders = '';
+ $this->headerCallbackData->responseCookies = array();
356
357
// Include additional error code information in error message when possible.
358
if ($this->curlError && function_exists('curl_strerror')) {
0 commit comments