Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117811 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 18468 invoked from network); 28 May 2022 00:53:00 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 May 2022 00:53:00 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4BE3618050B for ; Fri, 27 May 2022 19:36:08 -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_40,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-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 27 May 2022 19:36:07 -0700 (PDT) Received: by mail-wm1-f46.google.com with SMTP id c5-20020a1c3505000000b0038e37907b5bso5535189wma.0 for ; Fri, 27 May 2022 19:36:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=craigfrancis.co.uk; s=default; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=GcV++EnTFe5T0WZC0rCA77hAX19/63yDH8UPQ+hQuCI=; b=efRkJoBALc40ZgPu+lCTPm7KJMd1Fm5YLb6Q7lj7gubF4M7cHUmCN+Cso12IfXHDxx NtgKCz+aN2So9SKceL3h8WcyF9pSsIDqAHJkbSY1eShpkn3o3P72hZv2oLyl5xYSGr81 NbG6HaXw6dIPeO8pSyiG2Kbxz5YAga9u0sNqg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=GcV++EnTFe5T0WZC0rCA77hAX19/63yDH8UPQ+hQuCI=; b=yiM/5xk3Y/9Kbh9a97yWJHUW0kzol/pOHK9Vg5+ayN6y/sJVsG4Z4Zg3n7F6B9hdlk 9ywFb9080tUBF4jQfpJ6zgYz3aYwZ0hKXyb5x9/Rgk2b0t89bdIZ1yQHUj5YErAA8c15 u9MgLUdUuZF0TDBlVOe1wjeQU+9Z1u1tMGjOafr8hk/F9ZIFNEh02kvcCp5cN1MuhJbb CPRtbQUnSrm4yyGtq/3+DcrRmwfuFxcPsUQBPUthGcoK8zfBU+0zdgcsHSpTbP3lKI6Z SIH1wYTPoqy0OeYaCjvcmcjW0UU4wWOMIGT70KgswZEKE2KKHTBaFJp31HyQhD+V6EDR Z2cw== X-Gm-Message-State: AOAM532ldY1+U1wmjLArfvpMXNW0ZfaUc8SSKSKZh7/HbBuMrXK5hxqX yn8WenhQ4ZfzZV1BnCTMFhz0qjt5T03Zng== X-Google-Smtp-Source: ABdhPJxjU1zp+Zz7OJE2PPAeONJi27SZ78i8scSQGo1p15r8sOVAJ36E7/U9hmubKldqVSrC9C4bBA== X-Received: by 2002:a1c:4d0d:0:b0:397:30f6:b62b with SMTP id o13-20020a1c4d0d000000b0039730f6b62bmr9403826wmh.155.1653705366729; Fri, 27 May 2022 19:36:06 -0700 (PDT) Received: from smtpclient.apple ([94.173.138.98]) by smtp.gmail.com with ESMTPSA id bw30-20020a0560001f9e00b0020ffa2799f4sm2860694wrb.73.2022.05.27.19.36.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 May 2022 19:36:06 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Date: Sat, 28 May 2022 03:36:05 +0100 References: To: PHP internals In-Reply-To: Message-ID: <2B63A776-11B9-49BF-AE0A-FCF7F4E738F2@craigfrancis.co.uk> X-Mailer: Apple Mail (2.3696.100.31) Subject: Re: NULL Coercion Consistency From: craig@craigfrancis.co.uk (Craig Francis) On 8 Apr 2022, at 18:34, Craig Francis wrote: > I've written a new draft RFC to address the NULL coercion problems: > https://wiki.php.net/rfc/null_coercion_consistency I give up. I'm clearly not clever enough to understand what the benefits are for = breaking NULL coercion... considering NULL has been coerced for internal = functions since forever, and continues to work in other contexts. If anyone wants to work on a solution to the problem, feel free to = either edit my RFC, or create your own RFC. I believe my RFC documents every position put forward, and includes all = of details I think are relevant. I fear a vote now will only result in rejection; and once people put = their names down for a certain position, they will never change their = mind. That said, if someone did continue, and got their RFC accepted, I should = be able to organise some funding for the implementation. For some background, I paid for the `is_literal()` implementation before = that RFC vote, as that patch is useful irrespective of the result (it's = being used in a few projects now, and works incredibly well; thanks = again to Joe Watkins for writing, and M=C3=A1t=C3=A9 Kocsis for = testing). In this case, two of my clients are considering the cost of = modifying their code (by adding a load of `?? ''` everywhere), and they = would rather avoid that (time consuming, and makes their code more = complicated). I suggested putting aside a budget to either do that = modification, or fund the implementation if my RFC was to pass. I'm not = sure how big or complicated the task would be, but I noted the R11 = suggested day rate of $500 (~=C2=A3390), and the implementation could = take a few weeks. If anyone does want to email me about this, I won't respond until at = least June 6th. Craig