Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119130 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 91019 invoked from network); 13 Dec 2022 16:40:21 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 13 Dec 2022 16:40:21 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id EAA8B18050B for ; Tue, 13 Dec 2022 08:40:20 -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_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-vs1-f52.google.com (mail-vs1-f52.google.com [209.85.217.52]) (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 ; Tue, 13 Dec 2022 08:40:20 -0800 (PST) Received: by mail-vs1-f52.google.com with SMTP id c184so15200101vsc.3 for ; Tue, 13 Dec 2022 08:40:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=VUsC0a15rqI4MqQrpE5D6mKy52L0vj3khXRoicX4/JU=; b=g7Zoj6Y12Ijfc0SKbURnDxrQnLEc2VeM4I2Grt2GyU44+P79T5VPtVzChH5ybcMbEh wUkjgwYPhaSzap6bxA/r9DYmxSbUfqeu0w+MABiaZC7+BBIRQohLzsi1OFBtTOmQnPI9 ELbvS7NcQN9lNHnz+bKOfrMpfflebWHT3EoBDZ8Xom/p2EAhwdz2w6dUvcsKJKokDWo8 kILLipenPxjHpJxzmller1fBqy1HKXxpc51r97SrhFR9Dw9o975NogwVIH2aTrmskKLr rIhl8q29zRmZTTx9I8drXO4oWDtFh3459x+/XFwjYVphAUUz5t3ZbMDZnuSVypVZJfWg czLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VUsC0a15rqI4MqQrpE5D6mKy52L0vj3khXRoicX4/JU=; b=ptkEuyF78x9r1sjjRxaa2C58WnBRj54XvdTbeK8cmefj68ki8WaIYSx9aqZPJhATD+ tNDwSmx+Wiw7Teo2LSPUN1Keczde0d+4fSYKW86hwCNPFDmQB8x8mLnNufUs/Q6pYp25 8WE1Mpn2BsZ7E9cXAfUpoqbbwNqlxlhjpG9/YgoxWobdzq0WAqi2wivdrw7orNIECaK+ oHU+FLdMjOxvqUmw0ikXMHONA8a7yW8QU6l+pfyC8g0QQ6VRSzPk4X268A6ePJdkUHtB ZwbBtRctHQmRXKfvVkr71yQB3Jli+5vGV6DWRzeFt2hkX5qBRXG4NsS5epP5uVSOzdl/ Ioug== X-Gm-Message-State: ANoB5pmwiYl9+tRmhVTcq5g1VSJg2Cw8AInXVRtY71o4SRDt3BewdIyo NNjROidJ7hjJzC4aEaJr1HXCQpASPZ5fNqr9cRzOmdvBcQA= X-Google-Smtp-Source: AA0mqf6o/wbHzsACGOoAA5VxeJY7hNvUUJfUb+ZlUkq4vSaAcyRRp75d4On2SF/iMNSY1Boi/6Vx1Op1SIiwDLS0iDs= X-Received: by 2002:a05:6102:87:b0:3b1:2e07:2501 with SMTP id t7-20020a056102008700b003b12e072501mr12992188vsp.62.1670949619743; Tue, 13 Dec 2022 08:40:19 -0800 (PST) MIME-Version: 1.0 References: <5fe0d8a9-d305-9c9d-ca36-1ca30de87b78@cubiclesoft.com> <64f90d2c-a939-2a21-acae-f7115ed991b2@cubiclesoft.com> <64f13dbe-ffa7-4575-b5b3-e30df3791b9c@app.fastmail.com> In-Reply-To: <64f13dbe-ffa7-4575-b5b3-e30df3791b9c@app.fastmail.com> Date: Tue, 13 Dec 2022 13:39:43 -0300 Message-ID: To: Larry Garfield Cc: php internals Content-Type: multipart/alternative; boundary="00000000000085c2c005efb84692" Subject: Re: [PHP-DEV] Revisiting RFC: Engine Warnings -- Undefined array index From: deleugyn@gmail.com (Deleu) --00000000000085c2c005efb84692 Content-Type: text/plain; charset="UTF-8" > > Anyone surprised by any of the changes in recent versions that boil down > to "know your types and know if you actually have a variable" has been > living under a rock for the last 20 years. None of this has been a > secret. The language has been providing more and more tools to > know-your-types for years. > I have seen this type of comment here many times and I don't understand why it keeps being repeated. The world is made up of many rocks and we're all living under one of them. This whole thread is nothing but my-rock-is-the-only-rock-everyone-else-should-live-under type of comments. > And yes, I used to work on a system that didn't do that properly. (TYPO3, > ~800,000 LOC) It took me a few weeks, but we still managed to fix all of > these issues in mostly one-person-month, mostly with dropping "?? null" > around in various places. It's not the world-destroyer people make it out > to be. > Do you honestly think that everyone with a small/medium PHP project (500k~1M LOC) out there has someone as competent as you capable of achieving what you did? That is definitely a dream rock to live under. -- Marco Deleu --00000000000085c2c005efb84692--