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

From: Date: Fri, 24 Oct 2025 12:37:57 +0000
Subject: Re: [RFC] Nullable and non-nullable cast operators
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-128951@lists.php.net to get a copy of this message
Hi Rob, > My question not covered in the RFC: is this (https://3v4l.org/iF8V9) notice still emitted with > this cast? This is an interesting case, thank you. I asked Gina what is the plan for this deprecation in PHP 9.0 as it is not explained in the related RFC. That said, we would be in favor of throwing immediately. I'll update the test covering exactly this case in the PR once we have all the elements of answer. — Alexandre Daubois

« previous php.internals (#128951) next »