Re: [patch] Late static bindings (LSB)

From: Date: Fri, 21 Sep 2007 18:27:07 +0000
Subject: Re: [patch] Late static bindings (LSB)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-32418@lists.php.net to get a copy of this message
I mean, when you want to go upwards, to reach an ancestor class.
You can't go upwards, because there's no upwards for classes. You can use the information you already have, via static:: and function that is analogous to it for static and get_parent_class for non-static.
But it could also mean: the parent of "get_class($this)", in the mind of a programmer.
Then you can use get_parent_class($this) I guess. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#32418) next »