On 12/11/2025 20:01, Larry Garfield wrote:
> Isn't this what the #[ReturnTypeWillChange] attribute was intended for?
> 
> cf: https://wiki.php.net/rfc/internal_method_return_types
> 
> That seems like an option C?  It's technically a BC break, but people can 
> just drop an attribute on it to disable the return type check until 9.0.  We 
> did the same for the various internal methods, as noted in that RFC.

Parameter checks are not disabled by that attribute, so the BC problem remains.

Reply via email to