Bug #18257 Updated: fopen prob

From: Date: Wed, 10 Jul 2002 15:08:56 +0000
Subject: Bug #18257 Updated: fopen prob
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13741@lists.php.net to get a copy of this message
ID: 18257 Updated by: sniper@php.net Reported By: no@internet.de -Status: Open +Status: Bogus Bug Type: Filesystem function related Operating System: RedHat 7.3 PHP Version: 4CVS-2002-07-10 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php http://www.php.net/manual/en/language.operators.php#language.operators.precedence Previous Comments: ------------------------------------------------------------------------ [2002-07-10 03:22:34] no@internet.de In latest CVS something like this is broken: $out=fopen("file","w") || die ("file won't open"); in such a condition the file will never be created ... and instead you get something like "PHP Warning: fwrite(): supplied argument is not a valid File-Handle resource in ..." when you try an fwrite afterwards (but the file has been created correctly...) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18257&edit=1

« previous php.bugs (#13741) next »