System::tmpdir

System::tmpdir – Get path of temporal directory

Synopsis

require_once "System.php";

string System::tmpdir ( )

Description

Get the path of the temporal directory set in the system by looking in its environments variables.

Return value

string - The temporal directory on the system

Note

This function can be called statically.

php.ini-recommended removes the E from the variables_order setting, making unavailable the $_ENV array