Re: Implicit isset/isempty check on short-ternary operator

From: Date: Thu, 21 Apr 2011 07:35:39 +0000
Subject: Re: Implicit isset/isempty check on short-ternary operator
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20  Groups: php.internals 
Request: Send a blank email to internals+get-51971@lists.php.net to get a copy of this message
> > > What does coalesce() do? > If I'm guessing correctly, would proposal #2 that Rune Kaagaard put up > solve that for you? > https://gist.github.com/909711 > > Cheers, > David > > It was discussed in a separate thread. generally it would do the same as in SQL, return the first non-null value from the arguments. and it wouldn't introduce a new syntax, but I guess that it should be added as a language construct. Tyrael

« previous php.internals (#51971) next »