Re: Property Accessors 1.2 : parent::$foo Issue
| From: | Lars Strojny | Date: | Fri, 04 Jan 2013 11:43:49 +0000 |
| Subject: | Re: Property Accessors 1.2 : parent::$foo Issue | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64518@lists.php.net to get a copy of this message | ||
Hi Clint,
Am 04.01.2013 um 04:13 schrieb Clint Priest <cpriest@zerocue.com>:
[...]
> 1) It forces the user to access the parent property accessor in a different way than is used
> everywhere else
Isn’t that the same as parent->$foo? Please let’s not introduce a special syntax for
something that can be done properly. I would either go with variant 2 ("Rewrite the way static
property references work"). If that takes too long and we feel that a version without parent
access is sufficient, we should disallow parent access for version 1 of property accessors.
cu,
Lars