Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119112 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 5281 invoked from network); 12 Dec 2022 23:36:42 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 12 Dec 2022 23:36:42 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6C27118054C for ; Mon, 12 Dec 2022 15:36:41 -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.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS16276 149.56.0.0/16 X-Spam-Virus: No X-Envelope-From: Received: from tls2.org (tls2.org [149.56.142.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 12 Dec 2022 15:36:40 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: thruska@cubiclesoft.com) with ESMTPSA id C9E863EDA6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cubiclesoft.com; s=default; t=1670888200; bh=zoiKV29cbQ3P8z/AxkWPEcM2kr+Dyb7c6SVIjdBdwJM=; h=Date:Subject:To:References:From:In-Reply-To:From; b=KkxCKL6hSi46x4d6Ooi7HoD/mOj+6uAS7FnWELHpgIEsTfTwIj6cmqLVvIoBLkYRu TzdzZZj0UGBVefKMg17DLASz8bqtkeP3qP3BAjj5mBsDyFGEb6Wu3+DzrrzE4Y+ZvR G7TV/sYcl28N31QBP35RRzTzAAoC7N11N2ixTaeAO6DETBBwRtLQPib35bCjj5jtWS cTd3CnOp6smoLOTgdYZzNI8N3QgOJphE2FBcaM354uquAjiLZnG/Q/2jkD4EfDB6BG C+SLKZRpuAMr7+weQytp40xSjnqqJOKOAZyLmWZlAssPyEK48XB+2yPdnyyZzdCEB5 5sRtSVzmM2Y6w== Message-ID: <5fe0d8a9-d305-9c9d-ca36-1ca30de87b78@cubiclesoft.com> Date: Mon, 12 Dec 2022 16:36:37 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 Content-Language: en-US To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Revisiting RFC: Engine Warnings -- Undefined array index From: thruska@cubiclesoft.com (Thomas Hruska) On 12/12/2022 3:52 PM, Derick Rethans wrote: > On 12 December 2022 22:20:27 GMT, Dan Liebner wrote: > >> It has been proposed to make the error level of "Undefined index" >> configurable so that teams and individual developers can decide for >> themselves how they want this situation to be handled. Given that: >> >> - PHP has been treating this as an E_NOTICE for over 20 years > > But not in the last three years. PHP 8.x is only starting to roll out in Linux LTS distro packages at the end-user level. I've moved to 8.x internally but I am, in particular, waiting for Ubuntu Server 22.04.2 to officially drop before beginning meticulously planned upgrades to mission critical systems. I suspect many people are in a similar holding pattern who are currently running packaged 7.4.x and are just now discovering all of the changes for PHP 8.x as they are planning out their system upgrade paths in the coming months. While you probably wish everyone marched in step with PHP-latest, that's simply not feasible in reality. The type of post that the OP sent to internals is likely to become more common in the next few months as PHP 8.x starts rolling out globally. Most businesses are waiting for at least the holidays to conclude before performing any major system upgrades if not longer for specific OS releases to drop. -- Thomas Hruska CubicleSoft President CubicleSoft has over 80 original open source projects and counting. Plus a couple of commercial/retail products. What software are you looking to build?