Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117592 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 54603 invoked from network); 25 Apr 2022 09:11:00 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 25 Apr 2022 09:11:00 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id AE48D18037E for ; Mon, 25 Apr 2022 03:45:58 -0700 (PDT) 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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 25 Apr 2022 03:45:58 -0700 (PDT) Received: by mail-wm1-f49.google.com with SMTP id r187-20020a1c44c4000000b0038ccb70e239so12202104wma.3 for ; Mon, 25 Apr 2022 03:45:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=craigfrancis.co.uk; s=default; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=i76ly3QfIYmpNbDcCZF/hXW6+uAXV/MkuAcNMXXfbR8=; b=Fc2iHNpDN8JdOkNhMDOIqTPw8UwYIAXHg2nxERu4AYgkQ2JprsLToPR2iTrXGrxQqI cb0LR4aZbXWLliU3d/dl1B9ba3C2Q8vzHzUESOE/muhbheXdur/eXoVAYjZHbPeBjLiI ciXZ378hRJWxei0XBqOLWjuRIIU7KCwUitBm4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=i76ly3QfIYmpNbDcCZF/hXW6+uAXV/MkuAcNMXXfbR8=; b=jMz81dSep4QDm5q27Sbl5MidjBZ7Zt6TfuudlT6q1l/TJaQCH7mBXNxi2ecfRhyKuO UKg113xzd+38XVMarN2uR4ATXR/iv2Ywr94N/kxpv/eCev+tq6CAJh1RCb3a5URI0Sto j2KmZ1lCYXeQ/n5Sa9MtG8akpY66oWZQHzdeIU+wxSK5S6D5pdYqYJwb5c15ntElBIpy PEUHRKgdnzZMnQ34D0r6Tl7iPuCyXSkn+hZ/Bxq4t8b+0L7jgwSTfl6kyvuwTZFXQQ1h d5tQRjYL+VvHyzZrdKza1oxKLBIMfPQ9m5iKCSJvee1Z0ZdyspCL7I9VZROMgsZT5N8d EDvA== X-Gm-Message-State: AOAM531cN5bd8XJGvCKWwFTEPaxn/FXVDy0Gag3fWtVr9kvzVmKUNfv5 Ns7kkCjcVh7Eq7ZfT4r37A5xg2WptBQRLg== X-Google-Smtp-Source: ABdhPJw9x6sBXF/TBOj6BZ30gwO+0FzE+mlwG0BzpQwzSN3sVtq9UxtKvSezDL/derVaU8/TWGoqHw== X-Received: by 2002:a1c:f207:0:b0:38e:9aac:df41 with SMTP id s7-20020a1cf207000000b0038e9aacdf41mr25228574wmc.14.1650883557078; Mon, 25 Apr 2022 03:45:57 -0700 (PDT) Received: from smtpclient.apple ([94.173.138.98]) by smtp.gmail.com with ESMTPSA id w8-20020a1cf608000000b0038c8fdc93d6sm10757500wmc.28.2022.04.25.03.45.55 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Apr 2022 03:45:56 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) In-Reply-To: Date: Mon, 25 Apr 2022 11:45:55 +0100 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: References: <2035695b-b6b5-5982-a5ea-e85693e1f71f@gmx.net> <925590a9-afa8-7630-8201-cc561b2611fa@gmx.net> <2F8CF57D-DFA8-49DA-9E42-F91BCCC6C1A8@craigfrancis.co.uk> To: Rowan Tommins X-Mailer: Apple Mail (2.3696.80.82.1.1) Subject: Re: [PHP-DEV] NULL Coercion Consistency From: craig@craigfrancis.co.uk (Craig Francis) On 25 Apr 2022, at 11:35, Rowan Tommins wrote: > Taking time to find and make fixes is the whole point of deprecation = notices - if nothing else changes, they can expect to have another 3.5 = years before a version of PHP is released where these become errors. = Upgrading to PHP 8.1 as soon as possible but only tackling the = deprecations when time allows is absolutely the right thing to do. That's true for things that need to be fixed, like the deprecation and = removal of magic quotes, but this is a lot of work for... I can't = provide an answer to that. In the mean time, I've only convinced 3 teams to upgrade to 8.1, and two = of them are using `set_error_handler()` to specifically ignore this = error (the log files were filled with far too many "passing null to = parameter" deprecation messages, whereas adding #[ReturnTypeWillChange] = wasn't too bad). Craig