Filesystem::tempnam()

string tempnam(string $dir, string $prefix)

Creates a temporary file with support for custom stream wrappers.

Parameters

string $dir The directory where the temporary filename will be created
string $prefix The prefix of the generated temporary filename Note: Windows uses only the first three characters of prefix

Return Value

string The new temporary filename (with path), or throw an exception on failure
doc_Symfony
2016-10-28 06:16:40
Comments
Leave a Comment

Please login to continue.