PEAR_Common::addTempFile()

PEAR_Common::addTempFile() -- register a temporary file or directory

Synopsis

require_once 'PEAR/common.php';

void PEAR_Common::addTempFile (string $file)

Описание

Register a temporary file or directory. When the destructor is executed, all registered temporary files and directories are removed.

Параметр

string $file

name of file or directory

Заметка

Эта функция может быть вызвана статически.