Re: Property Accessors 1.2 : parent::$foo Issue
| From: | Lars Strojny | Date: | Fri, 04 Jan 2013 15:36:01 +0000 |
| Subject: | Re: Property Accessors 1.2 : parent::$foo Issue | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64525@lists.php.net to get a copy of this message | ||
Hi Clint,
got it.
Am 04.01.2013 um 16:28 schrieb Clint Priest <cpriest@zerocue.com>:
> Uhm.. brain fart.
>
> I was thinking $this->$foo was normal when I wrote this up, I would change my last statement
> from the earlier email to any syntax which did not include a $.
>
> That being said then, I think I favor parent->foo the best.
It’s not really a matter of syntax, but a matte of principle. We shouldn’t burden our users with
another syntax to achieve the same thing.
cu,
Lars