Re: Nullsafe

From: Date: Tue, 03 Nov 2020 16:48:12 +0000
Subject: Re: Nullsafe
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-112160@lists.php.net to get a copy of this message
On Tue, 3 Nov 2020 at 17:38, Eugene Sidelnyk <zsidelnik@gmail.com> wrote: > I am wondering why don't we use ordinary -> operator > with safe null > handling? Hi, - changing the current behaviour of -> would be a huge BC break - and if we need another reason, there are many situations where you do want to fail early if the left operand is null, so the current operator is a good fit — Benjamin

« previous php.internals (#112160) next »