note 128194 added to function.fclose
| From: | GlennS at main dot php dot net | Date: | Tue, 07 Feb 2023 00:30:19 +0000 |
| Subject: | note 128194 added to function.fclose | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220151@lists.php.net to get a copy of this message | ||
Note that from PHP 8.0 onwards, attempting to close a stream that is already closed will throw a
fatal TypeError.
Prior to PHP 8, this just caused a warning (that you can silence with @).
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.158.213 (proxied: 14.201.156.35)
----
Manual Page -- https://php.net/manual/en/function.fclose.php
Edit -- https://main.php.net/note/edit/128194
Del: integrated -- https://main.php.net/note/delete/128194/integrated
Del: useless -- https://main.php.net/note/delete/128194/useless
Del: bad code -- https://main.php.net/note/delete/128194/bad+code
Del: spam -- https://main.php.net/note/delete/128194/spam
Del: non-english -- https://main.php.net/note/delete/128194/non-english
Del: in docs -- https://main.php.net/note/delete/128194/in+docs
Del: other reasons-- https://main.php.net/note/delete/128194
Reject -- https://main.php.net/note/reject/128194
Search -- https://main.php.net/manage/user-notes.php