Re: RFC: C-sharp style property get/set syntax for PHP
| From: | Johannes Schlüter | Date: | Wed, 01 Dec 2010 08:50:06 +0000 |
| Subject: | Re: RFC: C-sharp style property get/set syntax for PHP | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50757@lists.php.net to get a copy of this message | ||
On Tue, 2010-11-30 at 19:31 -0500, president@basnetworks.net wrote:
>
> isset() in the way you suggest would just be confusing. It would
> allow is
> to say that a property does not exist, when in fact it does exist.
> This
> is not logical.
Even when a property does exist physically (by these "methods") it might
not exist logically.
Missing that functionality is inconsistent with the languages. such an
inconsistency would be enough reason for a -1000 vote :-)
johannes