Re: [VOTE][RFC] Null Coalesce Operator
| From: | Dmitry Stogov | Date: | Fri, 26 Sep 2014 11:55:51 +0000 |
| Subject: | Re: [VOTE][RFC] Null Coalesce Operator | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77668@lists.php.net to get a copy of this message | ||
looks like Perl magic :(
-1
Dmitry.
On Mon, Sep 22, 2014 at 3:31 PM, Derick Rethans <derick@php.net> wrote:
> 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
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>