|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-03-11 14:01 UTC] cmb@php.net
-Package: Feature/Change Request
+Package: Filesystem function related
[2021-01-13 15:09 UTC] cmb@php.net
-Status: Open
+Status: Duplicate
-Assigned To:
+Assigned To: cmb
[2021-01-13 15:09 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 06:00:01 2025 UTC |
Description: ------------ Would like another paramater to tempnam so we can specify the postfix thus it can be used as tempnam("/xyz/", "Report_", ".txt") To which it can return "/xyz/Report_DAKHD.txt" The default can be the system default or ".tmp" Note it should even work if the psotfix is something "_typeA.txt" example tempnam("/xyz/", "Report_", "_type_A.txt") might return "/xyz/Report_KASD8_type_A.txt" Its just a postfix not the extention only Reproduce code: --------------- Feature request Expected result: ---------------- A file name in specified folder with requested prefix and postfix (extention) Actual result: -------------- n/a (Feature request)