Re: Property Accessors 1.2 : parent::$foo Issue
| From: | Stas Malyshev | Date: | Fri, 04 Jan 2013 22:23:20 +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-64532@lists.php.net to get a copy of this message | ||
Hi!
> One other possible alternative would be to treat parent "like a variable..."
>
> $parent->foo
That would be a big BC problem and also require serious changes to
handle it (look how $this is implemented - it's not regular variable at
all). So $parent is probably a non-starter.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227