PHP 4.0 Bug #7448 Updated: tempnam() behaviour changed from 4.0.1 to 4.0.3

From: Date: Sun, 05 Nov 2000 18:23:46 +0000
Subject: PHP 4.0 Bug #7448 Updated: tempnam() behaviour changed from 4.0.1 to 4.0.3
Groups: php.dev 
Request: Send a blank email to php-dev+get-37199@lists.php.net to get a copy of this message
ID: 7448 Updated by: jmoore Reported By: david.leborgne@cegetel.fr Status: Closed Bug Type: Documentation problem Assigned To: Comments: Note added to the documentation Previous Comments: --------------------------------------------------------------------------- [2000-10-25 20:31:32] joey@php.net This is intentional, otherwise, the returned string is not guaranteed to continue to be a uniqe temporary filename... This needs to be noted in docs if it isn't already. Thanks for the report --------------------------------------------------------------------------- [2000-10-25 05:15:10] david.leborgne@cegetel.fr <?php $f = tempnam("/tmp","foo"); ?> With PHP 4.0.1pl2, this script will return a string, but with PHP 4.0.3pl1, it will return a string and create a temporary file. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7448

« previous php.dev (#37199) next »