Re: Implicit isset in ternary operator
| From: | Sanford Whiteman | Date: | Mon, 23 Jul 2012 05:31:24 +0000 |
| Subject: | Re: Implicit isset in ternary operator | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61640@lists.php.net to get a copy of this message | ||
> Use functions.
I understood your post; I was replying to Yahav.
Anyway, I don't agree with you that (built-in) functions are all we
can add because there'll be too much debate. Other languages still
consider adding operators over time and/or allow overloading. Getting
functions added to the language is far from easy anyway. And IMO there
are waaaaaay too many places where something bound closely to the
variable like $?a would be instantly useful and portable; adding
functions for each of these would be impossible.
-- S.