note 20317 deleted from function.tempnam by sniper
| From: | sniper@php.net | Date: | Tue, 08 Apr 2003 20:27:02 +0000 |
| Subject: | note 20317 deleted from function.tempnam by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-46371@lists.php.net to get a copy of this message | ||
On OS/2 this fuction creates a 0 bytes file named after the temporary name it just returned. Altough
I don't know if this is expected to happen, since documentation is not clear if this is going
to happen or not, it doesn't really make much sense to me. Probably it's a quirk of the
OS/2 port of PHP, but anyhow check it out if you plan to generate a file name but "may"
not use (thus unlink()) it later. It could fill your tmp dir with empty files.