Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112364 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 31825 invoked from network); 1 Dec 2020 21:54:15 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 1 Dec 2020 21:54:15 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 844B41804C3 for ; Tue, 1 Dec 2020 13:21:46 -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=-2.1 required=5.0 tests=BAYES_00,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-Virus: No X-Envelope-From: Received: from black.elm.relay.mailchannels.net (black.elm.relay.mailchannels.net [23.83.212.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 1 Dec 2020 13:21:45 -0800 (PST) X-Sender-Id: dreamhost|x-authsender|josh@joshbruce.dev Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 8C9B1481966; Tue, 1 Dec 2020 21:21:43 +0000 (UTC) Received: from pdx1-sub0-mail-a68.g.dreamhost.com (100-98-118-91.trex.outbound.svc.cluster.local [100.98.118.91]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 4EA8C481E37; Tue, 1 Dec 2020 21:21:38 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|josh@joshbruce.dev Received: from pdx1-sub0-mail-a68.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.10); Tue, 01 Dec 2020 21:21:43 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|josh@joshbruce.dev X-MailChannels-Auth-Id: dreamhost X-Stop-Print: 6e95cde162b1ecf8_1606857701595_412314023 X-MC-Loop-Signature: 1606857701595:2888480220 X-MC-Ingress-Time: 1606857701595 Received: from pdx1-sub0-mail-a68.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a68.g.dreamhost.com (Postfix) with ESMTP id B61B37E45D; Tue, 1 Dec 2020 13:21:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=joshbruce.dev; h=from :message-id:content-type:mime-version:subject:date:in-reply-to :cc:to:references; s=joshbruce.dev; bh=PpSNDv0Ca+aAT7IJFrnsmvNfm d0=; b=Z7x7rxVZO7+4mMZaVdtuY10dhMeZd4Wh5zlA8lqCjHL/9JjvuaM+HHpBL 19ycNAadQ3WiKf7Wk/EqcrosdGG9g3Au/TwMfdu7rlB/sdi6Q/uBbwIzZGiKSAMR QnfVkdtz2FG1KogfRtGbbHuMGxFcPamdmX/mgTwZIrJaqk7h+Y= Received: from joshs-mbp.lan (21.140.29.136.in-addr.arpa [136.29.140.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: josh@joshbruce.dev) by pdx1-sub0-mail-a68.g.dreamhost.com (Postfix) with ESMTPSA id 232217E45A; Tue, 1 Dec 2020 13:21:36 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a68 Message-ID: Content-Type: multipart/alternative; boundary="Apple-Mail=_EB5B4B3D-AF7B-4664-9B65-81E51F65A821" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.21\)) Date: Tue, 1 Dec 2020 15:21:35 -0600 In-Reply-To: Cc: PHP internals To: Nikita Popov References: X-Mailer: Apple Mail (2.3654.20.0.2.21) Subject: Re: [PHP-DEV] [RFC] Deprecate passing null to non-nullable arguments of internal functions From: josh@joshbruce.dev (Josh Bruce) --Apple-Mail=_EB5B4B3D-AF7B-4664-9B65-81E51F65A821 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Dec 1, 2020, at 8:57 AM, Nikita Popov wrote: >=20 > I've put up an RFC to make the handling of "null" arguments consistent > between internal and user-defined functions: >=20 > https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg = >=20 > I started an informal discussion for this change during the 7.4 cycle > already, but decided to postpone the change at the time. For what it=E2=80=99s worth, you had me at more consistent (and = constrained) use of =E2=80=9Cnull=E2=80=9D. Cheers, Josh= --Apple-Mail=_EB5B4B3D-AF7B-4664-9B65-81E51F65A821--