System::tmpdir

System::tmpdir – 一時ディレクトリのパスを取得する

Synopsis

require_once "System.php";

string System::tmpdir ( )

Description

環境変数から、システムの一時ディレクトリへのパスを取得します。

Return value

string - システムの一時ディレクトリを返します。

Note

This function can be called statically.

php.ini-recommended では、variables_order の設定から E が取り除かれています。そのため、 $_ENV 配列は使用できません。