Re: [PHP-DEV] [RFC] Implicit isset() in Shorthand Ternary Operator
[email protected] (Shashank Kumar)
| Newsgroups | php.internals |
|---|---|
| Message-ID | <CAFr9ZqvviYs1aakTW=gT2YKn_7TuAPF4sBynHpv7XVfBNNV19w@mail.gmail.com> |
Hi Andrea Rather than giving a new meaning to an old operator why not have a different operator for this? .NET has a 'null coalescing' operator for the same purpose which works out quite well in the given situation and is non-ambiguous as well. http://msdn.microsoft.com/en-us/library/ms173224.aspx