Re: [RFC] Fix the Tenary Operator -- Please!? Please?
| From: | Michael Morris | Date: | Thu, 26 Mar 2015 22:40:24 +0000 |
| Subject: | Re: [RFC] Fix the Tenary Operator -- Please!? Please? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-85486@lists.php.net to get a copy of this message | ||
It's not a feature though - it's a bug. It's just one of those bugs that
the fixing of which may break something.
On Thu, Mar 26, 2015 at 6:31 PM, Rowan Collins <rowan.collins@gmail.com>
wrote:
> On 26 March 2015 20:54:12 GMT, Michael Morris <tendoaki@gmail.com> wrote:
> >Per PHPsadness...
> >
> >http://phpsadness.com/sad/30
> >
> >Since 7 is allowed to have BC breaks this would be the time to fix
> >this.
> >
> >I'll let someone with more seniority actually write this up - but
> >please,
> >please fix this - it's a very long standing annoyance.
>
> I used to think this was a major nuisance, but recently thought about it
> and decided I've never once wanted to do this - the result is really ugly
> code whatever the associativity.
>
> What I've always been annoyed by is the *precedence* of the operator -
> having to add brackets to mix it with string concatenation, etc - which it
> turns out to is the same in all sorts of languages.
>
> Regards,
> --
> Rowan Collins
> [IMSoP]
>
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>