From: Ilia Alshanetsky Date: Thu, 24 Sep 2009 18:59:28 +0000 (+0000) Subject: Make tempnam() return FALSE on error as documented X-Git-Tag: php-5.4.0alpha1~191^2~2588 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3f239c6ceaa5a12ae1ff90a2da38e992d0979ad;p=php Make tempnam() return FALSE on error as documented --- diff --git a/ext/standard/file.c b/ext/standard/file.c index 00c9861f28..90a0b2c8e4 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -977,6 +977,7 @@ PHP_FUNCTION(tempnam) efree(opened_path); } efree(p); + RETURN_FALSE; } /* }}} */