Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128945 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id E69B21A00BC for ; Fri, 24 Oct 2025 07:37:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1761291459; bh=MQpN5eDLgIO3mdzkhB1hs+1IvKeJH+W1Uu3FrrUqwc0=; h=Date:From:To:In-Reply-To:References:Subject:From; b=K320lBmmBiJXJD8vAZIzuGd3ssO/8mmLNBB5VViajFPw5Xq35/e7Lh/IOFsMDxBNH izfYNLEOMAs4fXUtSvZtw5sJSFW+fO9Brl5m+BcuuhULOAOHL9J97Z5J3Gg6jhutJu s7A+phuDMsuKk8oqq2TvgtjYed2F9P/GSnfpOhKuMhVs7BRkSOkssBt7GD75JmRc2n 9ddYUMcogqrvZ+zBYdNb8fGv0wiUk0c0XdoWy5sC7Yi5VL6EbehM61tE8jd9IO1X32 ZAEZOON4lX0u+e1uE7Yyq3ajhSeg7p9QsvH9QiQo4jpljeFxtaSAY6eXaV5EZGfkXN NKMZqIjuMglFg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B08E5180032 for ; Fri, 24 Oct 2025 07:37:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,HTML_MESSAGE, RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from fhigh-b7-smtp.messagingengine.com (fhigh-b7-smtp.messagingengine.com [202.12.124.158]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 24 Oct 2025 07:37:38 +0000 (UTC) Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.stl.internal (Postfix) with ESMTP id 048577A00B2 for ; Fri, 24 Oct 2025 03:37:32 -0400 (EDT) Received: from phl-imap-05 ([10.202.2.95]) by phl-compute-05.internal (MEProxy); Fri, 24 Oct 2025 03:37:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bottled.codes; h=cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1761291452; x=1761377852; bh=MQpN5eDLgI O3mdzkhB1hs+1IvKeJH+W1Uu3FrrUqwc0=; b=jeHgGjxcESLmD6s82YpAbr/0ek qnM0Rvof7pecXxVt8t+NqOYTyKxeVSTnFCWlKrBHWu7JY3Owll+TN0JEIqcM2x7u 2IVOC1f/AzYuqSw8gApi51OGZNhozQpEwZ871CgWVwas1cx8gsEi0ZI7WAxUaHq8 OZZ26fo7ul3rO+VNmifPx8EDkDxrhHbJWyL2lygvJewzzchg3PhI3SE2XEF6WQrS MCWeQ4AdWQPpt9Elx+ndqFcqw485ynkM42Yrdx8CXQXFOdeotYcN2dg47h1aCCsn 66IbtSmWnSWkUXLZf68OS/bYxRMRB4u/oXipS9a5WvDaF3PCMEXagptnssvA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1761291452; x=1761377852; bh=MQpN5eDLgIO3mdzkhB1hs+1IvKeJH+W1Uu3 FrrUqwc0=; b=BvHF67ASklLhvVQJDG36VY9NBYh90Qxq2suxoI6PtR7PpBOkwhR XJqyMPob8q/uLpLEqpvelGt3yVLMPZikDXVgd1q5JQwAL4elTb/dmtGpJgku8t5o o1FoOJD5wZvh0GaDUaxsNNYdAgTyuEsgPkxpcMzgNOkWHSM/SNGVeHRDlzCMzKqm ds142sC4EErtA0dHaWtd0uQcLwsuKpo58rt43e8pMQZqwfBpH9zO44riBLMufUJz EXc3KmSgYWEy2aglbQqtxXEwBRThRtE2S7XLAfPX0P+gEAP5wMOW3Xj+s9dvk3mW Fm3Li7dkyERlNqNyNaa1o0BSV+fip/JsGfA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddugeekjeeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucgoufhushhpvggtthffohhmrghinhculdegledmnecujf gurhepofggfffhvffkjghfufgtsegrtderreertdejnecuhfhrohhmpedftfhosgcunfgr nhguvghrshdfuceorhhosgessghothhtlhgvugdrtghouggvsheqnecuggftrfgrthhtvg hrnhepkeelleegjefhhffgveelkedutdekudevudevuedtteehgefhtdekffdvjeelgfet necuffhomhgrihhnpehphhhprdhnvghtpdefvheglhdrohhrghenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrohgssegsohhtthhlvggurdgt ohguvghspdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprhgtphhtth hopehinhhtvghrnhgrlhhssehlihhsthhsrdhphhhprdhnvght X-ME-Proxy: Feedback-ID: ifab94697:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 7C2391820054; Fri, 24 Oct 2025 03:37:32 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 X-ThreadId: A9h1dLxFSJH3 Date: Fri, 24 Oct 2025 09:37:11 +0200 To: internals@lists.php.net Message-ID: <5f7d133c-61e3-459b-900b-a62ad5ac1d19@app.fastmail.com> In-Reply-To: References: Subject: Re: [PHP-DEV] [RFC] Nullable and non-nullable cast operators Content-Type: multipart/alternative; boundary=ab41e38779ec41faab3f0eec41f539ae From: rob@bottled.codes ("Rob Landers") --ab41e38779ec41faab3f0eec41f539ae Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri, Oct 24, 2025, at 09:07, Alexandre Daubois wrote: > Hi everyone, >=20 > Nicolas Grekas and I would like to propose this new RFC to the > discussion. This proposes to introduce two new cast operators to the > language: `(?type)` and `(!type)`. >=20 > Please find the details here: > https://wiki.php.net/rfc/nullable-not-nullable-cast-operator >=20 > Thanks! >=20 > =E2=80=94 Alexandre Daubois >=20 My question not covered in the RFC: is this (https://3v4l.org/iF8V9) not= ice still emitted with this cast? =E2=80=94 Rob --ab41e38779ec41faab3f0eec41f539ae Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On Fri, Oct = 24, 2025, at 09:07, Alexandre Daubois wrote:
Hi everyone,

Nico= las Grekas and I would like to propose this new RFC to the
dis= cussion. This proposes to introduce two new cast operators to the
<= div>language: `(?type)` and `(!type)`.

Please f= ind the details here:

Thanks!
=E2=80=94 Alexandre Daubois


My question not covered in the RFC: is this (https://3v4l.org/iF8V9) notice still em= itted with this cast?

=E2=80= =94 Rob
--ab41e38779ec41faab3f0eec41f539ae--