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
?>
closes an open file pointer (Previous) returns a path to a temporary file (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.