Re: [VOTE][RFC] Null Coalesce Operator

From: Date: Mon, 22 Sep 2014 11:31:03 +0000
Subject: Re: [VOTE][RFC] Null Coalesce Operator
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-77455@lists.php.net to get a copy of this message
On Sat, 20 Sep 2014, Patrick Schaaf wrote: > Am 20.09.2014 01:35 schrieb "Andrea Faulds" <ajf@ajf.me>: > > > > https://wiki.php.net/rfc/isset_ternary#vote > > Hi, > > got a question after being bitten my the issue yesterday in the context of > the "@yadda ?: 'default'" form yesterday: > > What about yadda that results, at the moment, in fatal errors?? Things like > static::$missingproperty, $this->missingmethod(), and other stuff? > > Will the ?? operator > A) make these non-fatal > B) silently fatal (like now when @ is used) It should be this one to be consistent. @ is shit, but sadly can not be avoided in all situations. cheers, Derick

« previous php.internals (#77455) next »