Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113137 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 42444 invoked from network); 11 Feb 2021 05:11:54 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Feb 2021 05:11:54 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 849091804CF for ; Wed, 10 Feb 2021 20:57:13 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from srv015.mail.ichtushosting.com (srv015.mail.ichtushosting.com [159.69.182.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 10 Feb 2021 20:57:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stitcher.io ; s=default; h=To:Date:Message-Id:Subject:Mime-Version:Content-Type:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=8Pgwn7Y8MuCsL2cKvaxdxi+0/6gPJpM59NyeHkle6lE=; b=M2jQcHupwQUTlWZDjp7zwAp2xg xHuuvphYceaz/HsOcAtrMQYoWHD4ilsUGRS8t+SHLIQCNl8ceBbspkPgKtYLVoZykHhFNcse7T5zK E8XM9e6MYV5RPZDWvfpoP3vY0VtNiDtUFBqFcwSpYb8q6oERrcreOKalTEJ2CGvoSkaO5R/x1dvwC EvIPuHA2ki9J4wSZmZMwQkvD7yIX9kU/lAKLev1UiPHoBObL63/dMymC75rJcHR6JXN01Ev62rWaF VBiixr0DQywkDFmxYyOzLjvnAC4bzzaXW/wRXGgW73nNQ8eIC4mGLUfpHsO7R7mnfOh04UcIN40XU LiS3EHGA==; Authentication-Results: srv015.mail.ichtushosting.com; iprev=pass (srv020.mail.ichtushosting.com) smtp.remote-ip=78.46.213.219; spf=pass smtp.mailfrom=stitcher.io; dmarc=pass header.from=stitcher.io Received: from srv020.mail.ichtushosting.com ([78.46.213.219]) by srv015.mail.ichtushosting.com stage1 with esmtp (Exim MailCleaner) id 1lA42P-0007uH-Ip for from ; Thu, 11 Feb 2021 05:57:09 +0100 Received: from ptr-fq9pjpgvq04cnv8fswz.18120a2.ip6.access.telenet.be (ptr-fq9pjpgvq04cnv8fswz.18120a2.ip6.access.telenet.be [IPv6:2a02:1812:c3c:3a00:35ab:db8e:798b:9423]) (Authenticated sender: brendt@stitcher.io) by srv020.mail.ichtushosting.com (Postfix) with ESMTPSA id C7DD23EAC6 for ; Thu, 11 Feb 2021 05:57:07 +0100 (CET) X-MailCleaner-SPF: pass Content-Type: multipart/alternative; boundary="Apple-Mail=_62940943-86CF-4BD9-B2A2-230DC6F42719" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Message-ID: Date: Thu, 11 Feb 2021 05:57:07 +0100 To: PHP Internals X-Mailer: Apple Mail (2.3654.40.0.2.32) X-MailCleaner-TrustedIPs: Ok Subject: Changes to finfo and imap functions From: brendt@stitcher.io (Brent Roose) --Apple-Mail=_62940943-86CF-4BD9-B2A2-230DC6F42719 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi internals The chagelog for PHP 8.1 lists the two following changes:=20 - 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.=20= I tried searching externals.io for a previous = discussion but could only find = https://externals.io/message/111297#111298 = =20 Kind regards Brent= --Apple-Mail=_62940943-86CF-4BD9-B2A2-230DC6F42719--