PEAR_Common::mkTempDir

PEAR_Common::mkTempDir() – 一時ディレクトリを作成し、登録する

Synopsis

require_once 'PEAR/common.php';

string PEAR_Common::mkTempDir ( string $tmpdir = '' )

Description

一時ディレクトリを作成し、登録します。

Parameter

string $tmpdir

一時ディレクトリとして使用するディレクトリ。 指定しなかった場合は、システムのデフォルト (例えば /tmp あるいは c:\windows\temp) を使用します。

Return value

作成したディレクトリの名前を文字列で返します。

Note

This function can not be called statically.