Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116765 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 34039 invoked from network); 2 Jan 2022 16:47:58 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 2 Jan 2022 16:47:58 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2CFC1180511 for ; Sun, 2 Jan 2022 09:54:43 -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.7 required=5.0 tests=BAYES_05,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 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-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (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 ; Sun, 2 Jan 2022 09:54:42 -0800 (PST) Received: by mail-lf1-f46.google.com with SMTP id g11so70881257lfu.2 for ; Sun, 02 Jan 2022 09:54:42 -0800 (PST) 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=BfAJnoituK17HgeWPene/3eswCxqjcDk3jSpXykMs5Y=; b=YHLdrMMr93unIakNqJw1gZN1zPnKRJwVr+a73AYsXB1gUuq9gslDq1rBh1qBaxkx/T bY2GtS89W3FzYHjtOyllFSYDZBZ0COcWav3PZ52oQzxx/mztYmniEgnRJdqFvMuhiIQm xxIWaX8JYWoL4IwlLvnoP6l11JP911n/rLppc= 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=BfAJnoituK17HgeWPene/3eswCxqjcDk3jSpXykMs5Y=; b=FGPwjcEms4j2UQhEXSFOde7+RvOUJWur334h/JNuRLAI/qjidSDCB3/UpA8pr1XH2j t0MCDExMW9Cn6BKs+CfkciLbXRjzIY/O3APcpv7c3QfdHn92xfLoMTfzValDs3SXCPq+ te9lJnaNFyHjx7q+o88Qv4l1SMJYpuuWb842wd10LSQ8Jk4YDheI27grb4gdzbaTNZHS pcoKTLh+i4cRHdGNrOqHh+CpUDTxiBYNgMoXx7s99WwCRDLdFxWazTZiKXp160JlBMkd XsEP6hm/EVK0qVrt6+feR323bWQ/cwrnp12Fy6iuk2Lz2XB/x3iuZae9+GKyA+nFmscB wOLQ== X-Gm-Message-State: AOAM533llVxJzuEw2NvFdy1NHYF8CQMvtcOQaXAdn17WKaETlk/7eo33 tknTsYNxgG5e1AbeVpJE6KqnL4kl7XZQFpIt3w9x/w== X-Google-Smtp-Source: ABdhPJxELcxcst1Jg20PWn9z2d+iPahuS+qyn7dRLqWypVF/ffvGFxjzThiAYfYSjzT2XUgjztj0N9ftEmgf3dHBWjc= X-Received: by 2002:a05:6512:15a6:: with SMTP id bp38mr38654906lfb.116.1641146081207; Sun, 02 Jan 2022 09:54:41 -0800 (PST) MIME-Version: 1.0 References: <8a644158-9c54-f73d-ef74-79642f70f9c4@gmx.de> In-Reply-To: <8a644158-9c54-f73d-ef74-79642f70f9c4@gmx.de> Date: Sun, 2 Jan 2022 17:54:30 +0000 Message-ID: To: "Christoph M. Becker" Cc: Sara Golemon , PHP internals Content-Type: multipart/alternative; boundary="0000000000003204cf05d49d1910" Subject: Re: [PHP-DEV] Allowing NULL for some internal functions From: craig@craigfrancis.co.uk (Craig Francis) --0000000000003204cf05d49d1910 Content-Type: text/plain; charset="UTF-8" On Sun, 2 Jan 2022 at 13:41, Christoph M. Becker wrote: > [...] > And then it's totally unclear to me how this is supposed to affect > strict_types=1. > [...] > If the BC break is deemed to serious (maybe for string parameters only), > we better consider to undeprecate this, although that would make > internal functions behave differently to userland functions for > strict_types=0. But frankly, in that case the original RFC[1] should > not have passed, but it did, with 46 votes in favor, and *none* against. > I'm open to suggestions on how this should be handled, my RFC is just a draft. As to the original RFC, there wasn't really a discussion on it: https://externals.io/message/112327 The only person who raised a concern was Craig Duncan. And tbh, just scanning the RFC text, it's very reasonable, as consistency is ideal... but I didn't realise how much code would need to be changed until a few projects I work on started trying to use 8.1 (one team has gone back to 8.0, although I'm hoping they will accept a custom error handler to ignore these deprecation notices). Craig --0000000000003204cf05d49d1910--