Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128040 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 1C0921A00BC for ; Mon, 14 Jul 2025 16:20:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1752509947; bh=EwDIL8lnP5vyL9F7tU1bIRBsXaMDEsJxoNo+8r4fZcM=; h=Date:To:From:Subject:From; b=KJkUwCKFYyaJpV++sOZXIAMHnzoG76UoPP7/DxqMQeYoDnRFNo8NdvrwvTTZ7L3kB AhsEljxMJvVNlVZ6iHXQY3xPuTckcggdNU8ZZhEU6COyiZNVjZnR6Va1YKrfvYvC0H 47bsWDB/FZlBjL6d97F5g/F2JKUbvFkPWHXYfsGbuZKweeKnHri2oUFak6uPgCocgC 3/xUt7KVOOHteQSTE09Im44WilJObawwkvKjU9td8LJnzj6FI5TLqganRFAsLty6fn WmbXG8z01mzAtCVvMpR6qlVBXjXNDH/fVQmI6TMvX/w/tsPpM5LQVrJPYhRJ+BZUOd UjsPN1sWQninA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B6136180061 for ; Mon, 14 Jul 2025 16:19:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-24420.protonmail.ch (mail-24420.protonmail.ch [109.224.244.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 14 Jul 2025 16:19:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gpb.moe; s=protonmail; t=1752510051; x=1752769251; bh=EwDIL8lnP5vyL9F7tU1bIRBsXaMDEsJxoNo+8r4fZcM=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=Ighhb7PL6k7wtWam68JPy3kdOfDUoqNEHzbqFqJTMeYZyyWnw/57wB4L+wduj4opa nqbxhmFzoj50rNneJsty5GBGocZy39cwMlBesJ6KMdhrstX/ynVXhjLJDP2P8GV2Ri HBOtuiaw6vDIZ5aQ1Of+IUTZGIvwGreqZokEnHuODddlrAup6iKln+j8NX0Ax/hqKR 8DiMRIlUSUJ5NhEavS4r76T+Kop8V3saK5Ie+bVwXJUPoI/7EBs731A8L5zKEGyFEQ 49CkeqLUUfTnMIEZEWs8NDGVeoUChyd8qalJNiIaEUNJbHq+gJs2vm4SLUJu+WdWZA cy2GyhhP5vbPQ== Date: Mon, 14 Jul 2025 16:20:44 +0000 To: PHP internals Subject: [PHP-DEV] [RFC] Warnings for PHP 8.5 Message-ID: Feedback-ID: 96993444:user:proton X-Pm-Message-ID: 59497afa66c876bc58409540579d5a0b8807abd6 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: internals@gpb.moe ("Gina P. Banyard") Hello internals, Similar to the mass deprecation RFC, I would like to propose the addition o= f a few warnings in certain situations: https://wiki.php.net/rfc/warnings-php-8-5 I am expecting these 4 sub-proposals to be mostly uncontroversial, other than possibly, the "Using offsets on non-container values in isset()/= empty()" one. As this is intended to land in PHP 8.5 the discussion will last 2 weeks and= voting will commence on Monday the 28th of July 2025. Best regards, Gina P. Banyard