Changes to finfo and imap functions
| From: | Brent Roose | Date: | Thu, 11 Feb 2021 04:57:07 +0000 |
| Subject: | Changes to finfo and imap functions | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-113137@lists.php.net to get a copy of this message | ||
Hi internals
The chagelog for PHP 8.1 lists the two following changes:
- Fileinfo:
. The fileinfo functions now accept and return, respectively, finfo objects
instead of resources.
- IMAP:
. The IMAP functions now accept and return, respectively, IMAPConnection objects
instead of resources.
I suppose these changes are part of the move away from "resources everywhere" ? I was
wondering whether these function will still accept resource objects in PHP 8, or if support for them
is completely removed.
I tried searching externals.io <http://externals.io/> for a
previous discussion but could only find https://externals.io/message/111297#111298
<https://externals.io/message/111297#111298>
Kind regards
Brent