File::getTempFile()

File::getTempFile() – returns a path to a temporary file

Synopsis

require_once 'File.php';

string File::getTempFile ( string $dirname = null )

Description

Parameter

Return value

Throws

Deprecated

deprecated

Note

This function can be called statically.

See

Example

Using File::getTempFile()

<?php
require_once 'File.php';

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