HEX
Server: Apache
System: Linux host17.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
User: shrsglobal (7178)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/shrsglobal/public_html/wp-content/plugins/w3-total-cache/lib/NetDNA/W3tcWpHttpException.php
<?php

class W3tcWpHttpException extends Exception {
  
  private $curl_headers;

  public function __construct($message, $code = 0, Exception $previous = null, $headers = null) {
      if (version_compare(PHP_VERSION, '5.3', '>='))
          parent::__construct($message, (int)$code, $previous);
      else
          parent::__construct($message, (int)$code);
      $this->curl_headers = $headers;
  }

  public function getHeaders() {
    return $this->curl_headers;
  }

}