RE: [PHP-DEV] Proposal: Array syntax
| From: | Mike Robinson | Date: | Thu, 06 Nov 2003 11:31:31 +0000 |
| Subject: | RE: [PHP-DEV] Proposal: Array syntax | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5290@lists.php.net to get a copy of this message | ||
Kouber Saparev wrote:
> Perlish or not could not be a real reason for adding or not
> adding a feature in PHP. The important thing here is if it
> fits to the language concept or not.
Indeed, and IMHO it does, much like
($a==$b)?...
fits in quite well as an alternative to
if ($a==$b)...
It is an alternative syntax that makes things more readable
and easier to use. Not an awful lot of magic, sexiness, or
character savings involved.
Best Regards
Mike Robinson