File::getTempDir()

File::getTempDir() – retrieves the system's temporary directory

Synopsis

require_once 'File.php';

string File::gettempdir ( )

Description

Parameter

Return value

Throws

Deprecated

deprecated

Note

This function can be called statically.

See

Example

Using File::getTempDir()

<?php
require_once 'File.php';

// deprecated Use File_Util::tmpDir() instead
?>