Re: [RFC] Modify tempnam() to handle directories and auto-cleanup
| From: | Ángel González | Date: | Wed, 28 Nov 2012 19:05:14 +0000 |
| Subject: | Re: [RFC] Modify tempnam() to handle directories and auto-cleanup | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64082@lists.php.net to get a copy of this message | ||
On 26/11/12 22:21, Sara Golemon wrote:
> https://wiki.php.net/rfc/request-tempnam
>
> Just a bit of hand-holding for those who don't remember to clean up
> their messes.
I like it.
Also note that it's not always that people “don't
remember to clean up their messes” since there are
several tricky cases: client closed the connection
before the unlink, an exception was thrown...
OTOH it may make harder when you actually want
to stop an script and inspect it's temp files :)