System::mktemp

System::mktemp -- Create temporary files or directories

Synopsis

require_once "System.php";

mixed System::mktemp ([string $args = NULL])

Description

Creates temporary files or directories. This function will remove the created files when the scripts finish its execution.

Parameter

Return value

mixed - the full path of the created file or dir, or FALSE

Note

This function can be called statically.

See

mktemp man page

Example