Re: [PHP-DEV] [RFC] Support optional suffix parameter in tempnam

2023-08-14 Thread Athos Ribeiro
On Mon, Aug 14, 2023 at 05:57:53PM +0200, Côme Chilliet wrote: Le mardi 8 août 2023, 21:11:01 CEST Athos Ribeiro a écrit : Hi internals, As a follow-up on my previous message here (https://marc.info/?l=php-internals&m=168912164828942&w=2), I would like to start the discussion on the "Support op

Re: [PHP-DEV] [RFC] Support optional suffix parameter in tempnam

2023-08-14 Thread Tim Düsterhus
Hi On 8/14/23 17:57, Côme Chilliet wrote: The RFC does not explain what benefits brings using tempnam($directory, $prefix, $suffix) over using tempnam($directory, $prefix).$suffix , which you can already use? As per the documentation of tempnam: Creates a file with a unique filename, with

Re: [PHP-DEV] [RFC] Support optional suffix parameter in tempnam

2023-08-14 Thread Côme Chilliet
Le mardi 8 août 2023, 21:11:01 CEST Athos Ribeiro a écrit : > Hi internals, > > As a follow-up on my previous message here > (https://marc.info/?l=php-internals&m=168912164828942&w=2), > I would like to start the discussion on the "Support optional suffix > parameter in tempnam" RFC. > https://wik