Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117522 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 39483 invoked from network); 13 Apr 2022 12:29:06 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 13 Apr 2022 12:29:06 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9DA431804C5 for ; Wed, 13 Apr 2022 07:01:04 -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=-0.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (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 ; Wed, 13 Apr 2022 07:01:04 -0700 (PDT) Received: by mail-lf1-f51.google.com with SMTP id x33so3754793lfu.1 for ; Wed, 13 Apr 2022 07:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=craigfrancis.co.uk; s=default; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZOs9MYJml7rkelhQ+guRdl2VRtYrThOzf03QiCXUDZU=; b=H/7xnUALjkMZ3FTyvJ5GmwUiGO0zhDeYJ6QPSyoMUEgKJN0HEyaCJsxO0UNHSIkzTW zzylXCN7V2lrXLXkQUTOhsrQakB3QQukqg0FQEYlUxz8nfJOo4Q/D3voXw7RMtCr5tPy IPOqFvN68otJlCgNWMNV8VvgzXRL3YqqhGA24= 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; bh=ZOs9MYJml7rkelhQ+guRdl2VRtYrThOzf03QiCXUDZU=; b=2/XGVGOL2Z/S0K6EI0BxiaCtuIYAFElxHL/hDiCYJqwDfWLBDMqkHzZ+KYsYTol2Wg YFUP+P1/ZaYisd2YjwPG72OBSQ+2/d8MyOEXd/VSb32TKEQ6MzK1njcZxa24zckKEbL5 khzbaCscx/0l43Opbuf9Jfxxz5E85hizM6nRTEI5kL8PyMoqgDiwlb6HKOXV2SwQD/gs tYFWB/+u4+6GoR84a1JQDxRlhFZbkT0Lv0uowTs4uFRY6/p+lU2HGjlUgmi+E+LEINEa wFza9Sq4VNA9Y+waIc9sXEAfFAlMVJSN0r+znFVqVH+rCUOo9vYASBceM0Rko/bO2qPd pU5g== X-Gm-Message-State: AOAM530bjANlySLELY/I+BV6pR99dgqiSMbadKNqjEKsKgEHRqGw3jtR WzsHc0m8dzUo17GD5smoNwwcXeCZfzU4t94YzcguOtwH1ZxUVA== X-Google-Smtp-Source: ABdhPJwc8gSaOwxnGCP2I/rzOMcTpqZfiztxdlN7sHMy1IHay6A0OXT17U8kIeLLdlxTETipGR7GiTKmw7nLrs32jlI= X-Received: by 2002:ac2:4203:0:b0:448:8053:d402 with SMTP id y3-20020ac24203000000b004488053d402mr27947713lfh.687.1649858462545; Wed, 13 Apr 2022 07:01:02 -0700 (PDT) MIME-Version: 1.0 References: <00eeb55f-50c0-a724-efdd-c4426749c770@demon-angel.eu> In-Reply-To: <00eeb55f-50c0-a724-efdd-c4426749c770@demon-angel.eu> Date: Wed, 13 Apr 2022 15:00:51 +0100 Message-ID: To: mark@demon-angel.eu Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="00000000000097174105dc899bb9" Subject: Re: [PHP-DEV] NULL Coercion Consistency From: craig@craigfrancis.co.uk (Craig Francis) --00000000000097174105dc899bb9 Content-Type: text/plain; charset="UTF-8" On Mon, 11 Apr 2022 at 19:57, Mark Baker wrote: > This doesn't only apply to end user developers, but also to library and > toolchain developers who need to maintain code covering a range of PHP > versions > Yep, and thank you for commenting. Library authors are the ones receiving pressure at the moment, and while users of the library sometimes help (e.g. pull requests), it's a fairly thankless and time consuming task, with little/no value for scripts not using `strict_types=1` (you're not the only one simply adding `?? ''` everywhere). Just one thing to add, this is from people who are complaining about a deprecation notice (which can and is being ignored), now think of the typical non-library code when it becomes a Fatal Error. Craig --00000000000097174105dc899bb9--