Re: Null Coalesce Handling Revised

From: Date: Tue, 24 Nov 2026 22:58:01 +0000
Subject: Re: Null Coalesce Handling Revised
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-133219@lists.php.net to get a copy of this message
On Mon, Nov 23, 2026, at 10:54 AM, Robert Chapin wrote: > It allows the user's function to define a parameter that is both > optional and allows an unset variable to be "passed" without errors. Code that is passing an unset variable is already broken. It should be fixed to always know for certain if a variable is defined or not. While there are cases for a property remain uninitialized until some point, those are already handled. For a variable, no, fix your code. We do not need language syntax to make bad code pretend to work. --Larry Garfield

« previous php.internals (#133219) next »