Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Tar.php

function Archive_Tar::__destruct

File

vendor/pear/archive_tar/Archive/Tar.php, line 256

Class

Archive_Tar
Creates a (compressed) Tar archive

Code

public function __destruct() {
    $this->_close();
    // ----- Look for a local copy to delete
    if ($this->_temp_tarname != '' && (bool) preg_match('/^tar[[:alnum:]]*\\.tmp$/', $this->_temp_tarname)) {
        @unlink($this->_temp_tarname);
    }
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal