note 56882 added to function.fclose
| From: | kitdotlesteratlycosdotcodotuk at osu1 dot php dot net | Date: | Sun, 18 Sep 2005 12:34:14 +0000 |
| Subject: | note 56882 added to function.fclose | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-95365@lists.php.net to get a copy of this message | ||
fclose() also clears any locks on the file, so if another process was being kept waiting for the
lock to be cleared, fclose()ing will allow the other process to continue.
[Another "just-in-case" reason to habitually fclose() all files as soon as practical!]
----
Manual Page -- http://www.php.net/manual/en/function.fclose.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+56882
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56882&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56882&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56882&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56882&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56882&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+56882&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56882&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+56882&report=yes
Search -- http://master.php.net/manage/user-notes.php