PEAR_Common::addTempFile()

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

Synopsis

require_once 'PEAR/common.php';

void PEAR_Common::addTempFile (string $file)

Description

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

Parameter

string $file

name of file or directory

Note

This function can be called statically.