Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119131 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 93254 invoked from network); 13 Dec 2022 16:56:40 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 13 Dec 2022 16:56:40 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 58AC61804FF for ; Tue, 13 Dec 2022 08:56:40 -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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS19151 66.111.4.0/24 X-Spam-Virus: No X-Envelope-From: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 13 Dec 2022 08:56:39 -0800 (PST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 8B3D35C008B for ; Tue, 13 Dec 2022 11:56:39 -0500 (EST) Received: from imap50 ([10.202.2.100]) by compute4.internal (MEProxy); Tue, 13 Dec 2022 11:56:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1670950599; x= 1671036999; bh=GjyMC5+RoNHn7mTRHFs66IcMuKFh9t6ytvrhdOhp2MU=; b=e uN/nI1tgvUOsrAi+WO3Had3UCJ/B0TNuc7A9uBVRth+dlfJM/7byj2sffl5tqo/F eXuMys7OYIIyMzGLEoZ61j3MSYAFgqW/FfKBU582atb0pS7bFpxM4Fv735SF4sd/ 44cy1yNZEYTJHeUzsqkrvAEaJAaIAKOV9Q9tQSrNQ0XMcZ6WHETszSa3fX6sg2ak B3mb6G0KpwML6iOcvAbw0GvLRZudEOicPUq4l02eFk07kxOlCGEsZt9pj/ZIp5Ek xz+7YBkQwYmP47+N8aDOwG3LlhzMPrjIHCO7omM9LQ2JMylBnN2cq3bIqRYJVjBZ X7YoapdgiMGJp9aosaQog== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1670950599; x=1671036999; bh=GjyMC5+RoNHn7mTRHFs66IcMuKFh 9t6ytvrhdOhp2MU=; b=EKzmQEuE3Xm3MhlRvuENbA1goi/IQbO45XPddzFwJOsQ 2Dp1jOkixae652fNIcMSPQwdJ3SueOCbAOJFH05CVX8LY6wD3bR2gvPrhJO/mWoV Sc3Y84tl3BvXubqxZrYxOXcumn39B1hDzE8GbzepP4RWBAq1gmfo0JXYzQ4Gm4v+ 9PXPAIshdUQpEHDz6FWKWCLlIFiQ/pjmzczz+OYYPsSQoBzhbqXVR6Ggxp+L4vTw noRptgKMC+E5N4+0oY/pbnJd1KX6BgxJPga6Fm328V7WRIQ/UJiFG3n9JtjMZEMc U3YYyq3+beMhEBGYFW6xApXLcYWNQERvtjfJOexCBQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedugddulecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfnfgrrhhr hicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomh eqnecuggftrfgrthhtvghrnhepgeelgfekudeivddvteffueejffdthfejieevhefgffek udevkedtvdelvddvffefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomheplhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtohhm X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4679D1700093; Tue, 13 Dec 2022 11:56:39 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1115-g8b801eadce-fm-20221102.001-g8b801ead Mime-Version: 1.0 Message-ID: In-Reply-To: References: <5fe0d8a9-d305-9c9d-ca36-1ca30de87b78@cubiclesoft.com> <64f90d2c-a939-2a21-acae-f7115ed991b2@cubiclesoft.com> <64f13dbe-ffa7-4575-b5b3-e30df3791b9c@app.fastmail.com> Date: Tue, 13 Dec 2022 10:56:18 -0600 To: "php internals" Content-Type: text/plain Subject: Re: [PHP-DEV] Revisiting RFC: Engine Warnings -- Undefined array index From: larry@garfieldtech.com ("Larry Garfield") On Tue, Dec 13, 2022, at 10:39 AM, Deleu wrote: >> 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. In all modesty, 95% of the changes I made to get TYPO3 ready for 8.0 could have been made by a junior dev with a checklist and a few patterns to copy and paste. "Run tests, look at logs, fix a few lines, repeat." It was hardly the most intellectually stimulating work I've done. --Larry Garfield