Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117156 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 38480 invoked from network); 27 Feb 2022 18:47:00 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 27 Feb 2022 18:47:00 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 46B6C180539 for ; Sun, 27 Feb 2022 12:07:48 -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.2 required=5.0 tests=BAYES_40,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-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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, 27 Feb 2022 12:07:47 -0800 (PST) Received: by mail-lf1-f50.google.com with SMTP id i11so18061652lfu.3 for ; Sun, 27 Feb 2022 12:07:47 -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; bh=US1luBF7FVye3xBqrYNHQWMK/3a1OnYxCGYxHrMfLT0=; b=HCSsjgQtj/fHa8C9kZ5Wfm/LU7lq+oWmOVj1fTjZlJc5YBfMFPVvO3jpgscFcFsDUb F841P+5+GKkZbQAsL6jnM04MoUn1A2lCbRrhu4h+2f3Xfx2s8uXv7mkQN1Aw9HR6NnYR 8dYLC33Lz2sVWJ5jaVp8qgTPIQw1gAfT4l2lE= 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; bh=US1luBF7FVye3xBqrYNHQWMK/3a1OnYxCGYxHrMfLT0=; b=hHZJf6r3Ond9wkIERutOMQNf3buUNu9FcxQVMxafaPgAbpdbRhdIPp7oEMskCoAvH/ J6QO9qO+NPDfwu5+yZbSdKQeDsg/R/SHTOJt570JDKcBsO28gP41aSxMa+ve4/3mEE81 X4tV3fhNOAqeJVGBAn65DI0DwbfhYGGDz829U5eyDTTRRMR3BEYRICsQEdLpGX6QtxpM VIFVwikeXLdeyjYhEq2+QRECS8exiWMXP+Zjc6cyyLF5JZ7ZJX7eSYJSMgsLKVPvEG4u ADsHfi5qUTKdFFK+GoEZK2IeHp3XKJGvR3+3FWm9rvyFTf6gEkJffXK0lFfa74+67Fdz 4Xdw== X-Gm-Message-State: AOAM533ktYntM9j36EexDhGprVwH+CtZohuKX8eJXPLKyAk7eiGHRluR kyGGzlLMY6PcyxiglkaliGYhhNA0QA0PEINNwCHo84ct/ZnrmRtX X-Google-Smtp-Source: ABdhPJy8H/kwgTMIG3boeZcUOah4FtNqh2u+gE0rl7kW25kUSvtz9PcmFmg2VVJ3/nnnbHD7y1d90IE32OWkorARC0Q= X-Received: by 2002:a19:645c:0:b0:443:153b:9bee with SMTP id b28-20020a19645c000000b00443153b9beemr11271266lfj.620.1645992465805; Sun, 27 Feb 2022 12:07:45 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 27 Feb 2022 20:07:32 +0000 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="0000000000003a4a8b05d9057c30" Subject: Re: [PHP-DEV] Allowing NULL for some internal functions From: craig@craigfrancis.co.uk (Craig Francis) --0000000000003a4a8b05d9057c30 Content-Type: text/plain; charset="UTF-8" On Sat, 1 Jan 2022 at 23:17, Craig Francis wrote: > Draft RFC: > https://wiki.php.net/rfc/allow_null > To get a better idea on how I should progress this RFC, I've created a simple quiz (well, modified an old script). This is to decide if my RFC should either - continue to allow NULL to be coerced when not using strict_types=1; or update some ~335 parameters to explicitly allow NULL; or do we just ignore backwards compatibility and let the current deprecation lead to a Fatal Error for everyone? https://quiz.craigfrancis.co.uk/ As an aside, Juliette (@jrfnl) has confirmed that getting PHPCompatibility to solve this problem will be "pretty darn hard to do" because it's "not reliably sniffable" [1]. Craig [1] https://twitter.com/jrf_nl/status/1497937320766496772 --0000000000003a4a8b05d9057c30--