Re: what happened to that new isset() like language
| From: | Rasmus Lerdorf | Date: | Thu, 08 Jul 2004 21:57:13 +0000 |
| Subject: | Re: what happened to that new isset() like language | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10993@lists.php.net to get a copy of this message | ||
On Thu, 8 Jul 2004, Marc Richards wrote:
> Does it? There are other similar constructs that don't e.g. +=, $a ? $b
> : $c, .=;
These have roots in other languages and as such have a familiarity to
them. ?: would be a brand new operator nobody has seen before and one
that looks a lot like the ternary operator which everyone knows about.
> I think that part of the reason that these things are so terse is
> because if would defeat the whole point to use a function name; The aim
> is to be concise.
No, the aim is not conciseness. That has never been PHP's goal. The aim
is clarity.
-Rasmus