Re: [RFC] Nullable and non-nullable cast operators

From: Date: Fri, 24 Oct 2025 07:37:11 +0000
Subject: Re: [RFC] Nullable and non-nullable cast operators
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-128945@lists.php.net to get a copy of this message
On Fri, Oct 24, 2025, at 09:07, Alexandre Daubois wrote: > Hi everyone, > > 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). > > Please find the details here: > https://wiki.php.net/rfc/nullable-not-nullable-cast-operator > > Thanks! > > — Alexandre Daubois > My question not covered in the RFC: is this (https://3v4l.org/iF8V9) notice still emitted with this cast? — Rob

« previous php.internals (#128945) next »