Re: [RFC] Implicit isset() in Shorthand Ternary Operator
| From: | Shashank Kumar | Date: | Mon, 08 Sep 2014 12:04:12 +0000 |
| Subject: | Re: [RFC] Implicit isset() in Shorthand Ternary Operator | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77102@lists.php.net to get a copy of this message | ||
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