PEAR Manual
Prev |  | Next

# 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 unavaible the $_ENV array

## See

tmpdir man page

Prev | Home | Next
System::mktemp | Up | System::which