// Get the last set of response headers as an array. $headers = explode("\r\n", array_pop($headerArray)); // Set the body for the response. $body = substr($content, $info['header_size']); } else { // Fallback and try to guess header count by redirect count // Get the number of redirects that occurred. $redirects = $info['redirect_count'] ?? 0;|
OutOfMemoryError
|
|---|
Symfony\Component\ErrorHandler\Error\OutOfMemoryError: Error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 10599872 bytes) at /home/eadvisor/public_html/libraries/src/Http/Transport/CurlTransport.php:228 |