RE: [PHP] fopen on windows

From: Date: Mon, 14 Nov 2005 14:30:29 +0000
Subject: RE: [PHP] fopen on windows
Groups: php.general 
Request: Send a blank email to php-general+get-225736@lists.php.net to get a copy of this message
[snip] You need "or" not || here. The operator priorities are such that the above means ... which assigns the result of fopen() to $theFile, and then executes die if it's false -- which is much more satisfactory. ;) [/snip] Originally I did not have any '||' or 'or' in the conditional check, with the same results.

« previous php.general (#225736) next »