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

From: Date: Thu, 26 Oct 2000 00:31:32 +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-36029@lists.php.net to get a copy of this message
ID: 7448 Updated by: joey Reported By: david.leborgne@cegetel.fr Status: Open Bug Type: Documentation problem Assigned To: Comments: 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 Previous Comments: --------------------------------------------------------------------------- [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 (#36029) next »