note 14609 added to function.fopen.php

From: Date: Mon, 06 Aug 2001 09:45:36 +0000
Subject: note 14609 added to function.fopen.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-16370@lists.php.net to get a copy of this message
The return value of this function appears to be 0 for error and a file descriptor if >0. PHP probably adds 1 to the real file descriptor number to avoid problems with fd 0. This means that the returned number ought to be in the range [1,256] or so. http://www.php.net/manual/en/function.fopen.php

« previous php.notes (#16370) next »