Re: Cascade Operator (was Re: [PHP-DEV] Proposal for php7 class method return)
| From: | Pedro Cordeiro | Date: | Mon, 11 Jul 2016 18:11:38 +0000 |
| Subject: | Re: Cascade Operator (was Re: [PHP-DEV] Proposal for php7 class method return) | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94473@lists.php.net to get a copy of this message | ||
2016-07-11 13:30 GMT-03:00 Rasmus Schultz <rasmus@mindplay.dk>:
> Regarding syntax - I feel the natural choice, e.g. similar to "." vs
> "..", would be a longer arrow --> but that's ambiguous. (decrement
> operator, greater than operator)
>
Yes, it's ambiguous. It will also get confused for the (in)famous "goes to
operator":
http://stackoverflow.com/questions/1642028/what-is-the-name-of-the-operator