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


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


This function can be called statically.

PEAR_Common constructor (Previous) analyze the source code of the given PHP file (Next)
Last updated: Tue, 17 Jan 2017 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.