PEAR_Common::addTempFile

PEAR_Common::addTempFile() – 一時ファイルあるいはディレクトリを登録する

Synopsis

require_once 'PEAR/common.php';

void PEAR_Common::addTempFile ( string $file )

Description

一時ファイルあるいはディレクトリを登録します。 登録されたファイルやディレクトリは、 デストラクタの実行時に削除されます。

Parameter

string $file

ファイルあるいはディレクトリの名前。

Note

This function can be called statically.