diff --git a/src/Curl/Curl.php b/src/Curl/Curl.php index 919c2fb..8c6f093 100644 --- a/src/Curl/Curl.php +++ b/src/Curl/Curl.php @@ -666,7 +666,7 @@ public function isServerError() */ public function getResponseHeaders($headerKey = null) { - $headers = []; + $headers = array(); $headerKey = strtolower($headerKey); foreach ($this->response_headers as $header) {