Req #49211 [Wfx]: Provide mkdtemp(3) equivalent

From: Date: Mon, 09 Aug 2021 13:17:54 +0000
Subject: Req #49211 [Wfx]: Provide mkdtemp(3) equivalent
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235709@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=49211&edit=1 ID: 49211 Updated by: cmb@php.net Reported by: crrodriguez at opensuse dot org Summary: Provide mkdtemp(3) equivalent Status: Wont fix Type: Feature/Change Request Package: Filesystem function related Operating System: * PHP Version: * Assigned To: cmb Block user comment: N Private report: N New Comment: > I think we need to provide an equivalent to mkdtemp(3) Apparently, not many others agree with this, so I'm closing as WONTFIX. Anybody still interested in this feature, please pursue the RFC process[1]. [1] <https://wiki.php.net/rfc/howto> Previous Comments: ------------------------------------------------------------------------ [2021-08-09 13:17:54] cmb@php.net > I think we need to provide an equivalent to mkdtemp(3) Apparently, not many others agree with this, so I'm closing as WONTFIX. Anybody still interested in this feature, please pursue the RFC process[1]. [1] <https://wiki.php.net/rfc/howto> ------------------------------------------------------------------------ [2009-08-10 15:27:58] crrodriguez at opensuse dot org Description: ------------ There is no function in the core to create a temporary directory safely. I think we need to provide an equivalent to mkdtemp(3) Reproduce code: --------------- ---- Expected result: ---------------- string mkdtemp(string $dir , string $prefix ) with results identical to http://www.opengroup.org/onlinepubs/9699919799/functions/mkdtemp.html Actual result: -------------- --- ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=49211&edit=1

« previous php.bugs (#235709) next »