Re: alpha3
| From: | jvlad | Date: | Mon, 29 Sep 2008 18:02:36 +0000 |
| Subject: | Re: alpha3 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40790@lists.php.net to get a copy of this message | ||
> > > So as prevoius speaker suggested, and I personaly got to conclusion in
> > > other thread that ":" is ideal. Short, isn't taken.
> >
> > $a = $b?A:B:C:D;
>
> Will _you_ write such code? No. Will anybody from this list write such
> code?
You may want to write
$a = $b?A:B:C
and how would php compiler resolve A:B:C?
A:B vs C
or A vs B:C?
To me it's better to stay with ::