Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117703 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 19047 invoked from network); 9 May 2022 07:27:55 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 9 May 2022 07:27:55 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7C33318037E for ; Mon, 9 May 2022 02:06:22 -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,FREEMAIL_FROM, 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-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) (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, 9 May 2022 02:06:21 -0700 (PDT) Received: by mail-oi1-f176.google.com with SMTP id m25so14486028oih.2 for ; Mon, 09 May 2022 02:06:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=1dyomhkQyppUR66+13x6jsDuyM/ek+Rlf57madD0gjg=; b=lODDEukGaLPiw1YI2glHqI8WPJYScnxBA63SGGtdL9xKsJOqP61jsWl9uFUMgYXQ4f scZ1kobT29zJHbudw1GqtCVeSmNIFXDyrjrJ3Sgj9GFBWOsL3uf0xDSN5NWbVIDC4nxM wEaAyjhorjUckEW/HsdP+XXG1cpPhxFP5PssYTIjGEogJyuXimLc4hSiWZOZMrSV5Rhc +nMzY2sG2ivvMaEZMrBh4gg4b01Wr/EwIbSRZNLzfDh1ElXj+X2B+sCaZjRs2Q2G/TID XS7b6gN+k2SxHvxW4fWADnu9wd6pLxiwI3T5o6HTw5FbFO8qkjQc4HAsSeqf2qt995C0 vujw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=1dyomhkQyppUR66+13x6jsDuyM/ek+Rlf57madD0gjg=; b=FPDKh30u498PkkawP9j4WhnGG25Bx7uMRK7di4/ESuHF15Q4xlE5QMr1IdkI/s/Vkn 9EN/QQN7Bwf9fhnEBuT+kNW5cnINArCPhEYgrLVdRQ5iX8uRrg2lkKWD1NpA1hcO+MsC g+vGw3yLe+JS2J48kP6MuW4l7mXU0WCFYg1jufkSmWF3YUrBIwqGaGKtFw8KzUpfyyGv asfkd82OjrzAgrReeb5aqtTb3gcD7xi7z5saNCeqiW8kb6SPHm5Sz7cvpttPXw8xOUCu 9TVoSk4WpFZZExmeALAJG4zpgod3VRlkvXrR68NUl5wcyWBdZKVEJcLw27qMyuRriLlN GE4Q== X-Gm-Message-State: AOAM532WOcPzuqldYI8glXtjqqGsiOog+Ki5B660OBTlIx1re2Bo9uU1 gBCjMUedJzsEkoDqOMXSxome/nondWcOGAnDheo= X-Google-Smtp-Source: ABdhPJwXyfsk0RB5pEnl8ZxyThuCTD/+Vr2VjbxISykBZ2XCMowCETKRbvDcb1MC7hJoW67aYCLde8rj1aWuFlzKevQ= X-Received: by 2002:a05:6808:55d:b0:325:8d2b:7c19 with SMTP id i29-20020a056808055d00b003258d2b7c19mr10315118oig.36.1652087181250; Mon, 09 May 2022 02:06:21 -0700 (PDT) MIME-Version: 1.0 References: <5598bad8-4e1a-7638-d3aa-36b02568d1a8@alec.pl> In-Reply-To: Date: Mon, 9 May 2022 11:06:10 +0200 Message-ID: To: Rowan Tommins Cc: internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] NULL Coercion Consistency From: landers.robert@gmail.com (Robert Landers) On Mon, May 9, 2022 at 10:18 AM Rowan Tommins wro= te: > > On 08/05/2022 22:33, Bj=C3=B6rn Larsson via internals wrote: > > It's not only ugly code ;) To make your program/application/library 8.1 > > compatible using that codepattern requires en effort, but brings close > > to zero improvement, except being 8.1 compatible. So the net effect is > > negative. > > > Important correction: that change is to make your codebase PHP 9.0 > compatible, not PHP 8.1 compatible. > > That is the point of deprecation notices, to give advance warning that > something will become incompatible in the future; when you act on that > notice is up to you, and not in any sense about "compatibility" with the > version that raises the notice. > > (For my thoughts on the rest of what you're saying, see every other > message I've sent to this thread.) > > Regards, > > -- > Rowan Tommins > [IMSoP] > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > > Important correction: that change is to make your codebase PHP 9.0 > compatible, not PHP 8.1 compatible. If you are writing library code, it is 8.1 compatible to avoid people opening issues about spamming their logs.