rfc:tempnam-suffix
This is an old revision of the document!
PHP RFC: Add suffix-parameter to tempnam
- Version: 0.9
- Date: 2013-02-25
- Author: Stefan Neufeind, neufeind@php.net
- Status: Under Discussion
- First Published at: http://wiki.php.net/rfc/tempnam-suffix
Introduction
Current it is possible to optionally specify a prefix to generated filenames. In some cases however it is needed to create files with a certain suffix (like a file-extension) because other tools rely on for example a graphic-name ending with .png.
Proposal
Add new, optional parameter $suffix to tempnam().
Backward Incompatible Changes
Internal API-changes since the additional parameter is added.
Proposed PHP Version(s)
5.6
SAPIs Impacted
all
Impact to Existing Extensions
none
Patches and Tests
rfc/tempnam-suffix.1390641139.txt.gz · Last modified: 2017/09/22 13:28 (external edit)